From 5bf0d74120a92fb834b0d13098c0b5e93249a84f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 5 Oct 2011 15:06:26 +0200 Subject: curl tool: OOM handling fixes --- src/tool_operhlp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tool_operhlp.h') diff --git a/src/tool_operhlp.h b/src/tool_operhlp.h index 911f2f8e0..3629bf13a 100644 --- a/src/tool_operhlp.h +++ b/src/tool_operhlp.h @@ -35,7 +35,7 @@ bool stdin_upload(const char *uploadfile); char *add_file_name_to_url(CURL *curl, char *url, const char *filename); -char *get_url_file_name(const char *url); +CURLcode get_url_file_name(char **filename, const char *url); CURLcode main_init(void); -- cgit v1.2.3