Commit b5da54e6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

glob_word: remove a check that is always false

parent 22085f7d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -273,8 +273,6 @@ static GlobCode glob_word(URLGlob *glob, char *pattern,
      /* escape character, skip '\' */
      ++pattern;
      ++pos;
      if (*pattern == '\0')             /* but no escaping of '\0'! */
        return GLOB_ERROR;
    }
    *buf++ = *pattern++;                /* copy character to literal */
    ++pos;