diff options
| -rw-r--r-- | wildcard_cmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/wildcard_cmp.c b/wildcard_cmp.c index c4743d3..dd9ff7a 100644 --- a/wildcard_cmp.c +++ b/wildcard_cmp.c @@ -37,15 +37,11 @@ int wildcard_cmp(const char *s, const char *p, const bool casecmp) if (!cmp(wca, sa)) { p = wc + 1; - s += n; } else if (next == '*') p++; else - { s++; - p += n; - } } } |
