aboutsummaryrefslogtreecommitdiff
path: root/src/urlglob.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-12-06 10:10:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-12-06 10:10:31 +0000
commit22d8aa37e01ef1d87634fa26edc332e6b9f41544 (patch)
tree70fd906006226fe80fa48660bf5b17527ce7172b /src/urlglob.h
parent160d2a30db9b683025472517c82e35950a436f14 (diff)
urlglob fix to prevent crashing when -o path is longer than url
Diffstat (limited to 'src/urlglob.h')
-rw-r--r--src/urlglob.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/urlglob.h b/src/urlglob.h
index 4cb445106..f7a7f5a85 100644
--- a/src/urlglob.h
+++ b/src/urlglob.h
@@ -65,11 +65,13 @@ typedef struct {
char* literal[10];
URLPattern pattern[9];
int size;
+ int urllen;
+ char *glob_buffer;
} URLGlob;
int glob_url(URLGlob**, char*, int *);
char* next_url(URLGlob*);
-char* match_url(char*, URLGlob);
+char* match_url(char*, URLGlob *);
void glob_cleanup(URLGlob* glob);
#endif