diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-06-10 09:42:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-06-10 09:42:22 +0000 |
commit | e7fb72a7320211fb7669194eacddce401348c692 (patch) | |
tree | 09daf3edf4198261396f95c5ce01c1bc078a39ce /src/urlglob.h | |
parent | 8d30d34e0cc45376bb95de46d42a786c2c362e8a (diff) |
Pass the error stream pointer to the URL globber, so that it can report
errors correctly to the user, if need be.
Also fixed so that a missing ] in the globbing process no longer leads
to core dump.
Diffstat (limited to 'src/urlglob.h')
-rw-r--r-- | src/urlglob.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urlglob.h b/src/urlglob.h index d3fd45995..dafa0220a 100644 --- a/src/urlglob.h +++ b/src/urlglob.h @@ -53,9 +53,9 @@ typedef struct { char beenhere; } URLGlob; -int glob_url(URLGlob**, char*, int *); -char* next_url(URLGlob*); -char* match_url(char*, URLGlob *); +int glob_url(URLGlob**, char*, int *, FILE *); +char* glob_next_url(URLGlob*); +char* glob_match_url(char*, URLGlob *); void glob_cleanup(URLGlob* glob); #endif |