From 7296b2aa256049bec7ea7a372dee5cb319c7feca Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 5 Oct 2011 22:01:42 +0200 Subject: curl tool: OOM handling fixes --- src/tool_urlglob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tool_urlglob.h') 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 */ -- cgit v1.2.3