projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22085f7
)
glob_word: remove a check that is always false
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 12 Sep 2010 14:37:55 +0000
(16:37 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 12 Sep 2010 14:37:55 +0000
(16:37 +0200)
src/urlglob.c
patch
|
blob
|
history
diff --git
a/src/urlglob.c
b/src/urlglob.c
index
8435b25
..
e49b762
100644
(file)
--- a/
src/urlglob.c
+++ b/
src/urlglob.c
@@
-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;