diff options
author | Yang Tse <yangsita@gmail.com> | 2011-10-05 22:01:42 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-10-05 22:01:42 +0200 |
commit | 7296b2aa256049bec7ea7a372dee5cb319c7feca (patch) | |
tree | 5d64e31d6b369b774a85d2d4801af57f0d2b41c1 /src/tool_urlglob.h | |
parent | 6c849321d7545bcba1eb014d53b55db561015e52 (diff) | |
download | curl-7296b2aa256049bec7ea7a372dee5cb319c7feca.tar.gz |
curl tool: OOM handling fixes
Diffstat (limited to 'src/tool_urlglob.h')
-rw-r--r-- | src/tool_urlglob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_urlglob.h b/src/tool_urlglob.h index cf54a9b16..18281bf61 100644 --- a/src/tool_urlglob.h +++ b/src/tool_urlglob.h @@ -64,8 +64,8 @@ typedef struct { } URLGlob; int glob_url(URLGlob**, char*, int *, FILE *); -char* glob_next_url(URLGlob*); -char* glob_match_url(char*, URLGlob *); +int glob_next_url(char **, URLGlob *); +int glob_match_url(char **, char*, URLGlob *); void glob_cleanup(URLGlob* glob); #endif /* HEADER_CURL_TOOL_URLGLOB_H */ |