diff options
author | Yang Tse <yangsita@gmail.com> | 2011-10-05 15:06:26 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-10-05 15:06:26 +0200 |
commit | 5bf0d74120a92fb834b0d13098c0b5e93249a84f (patch) | |
tree | 3a89799eee7cc7f3d7e50b7598735b080444307f /src/tool_operhlp.h | |
parent | fd87d9d2b9e8a5ebb8e49f0a5611e40289fa9f05 (diff) | |
download | curl-5bf0d74120a92fb834b0d13098c0b5e93249a84f.tar.gz |
curl tool: OOM handling fixes
Diffstat (limited to 'src/tool_operhlp.h')
-rw-r--r-- | src/tool_operhlp.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |