summaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-10-05 15:06:26 +0200
committerYang Tse <yangsita@gmail.com>2011-10-05 15:06:26 +0200
commit5bf0d74120a92fb834b0d13098c0b5e93249a84f (patch)
tree3a89799eee7cc7f3d7e50b7598735b080444307f /src/tool_paramhlp.h
parentfd87d9d2b9e8a5ebb8e49f0a5611e40289fa9f05 (diff)
downloadcurl-5bf0d74120a92fb834b0d13098c0b5e93249a84f.tar.gz
curl tool: OOM handling fixes
Diffstat (limited to 'src/tool_paramhlp.h')
-rw-r--r--src/tool_paramhlp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tool_paramhlp.h b/src/tool_paramhlp.h
index 8b7ec9481..f17999198 100644
--- a/src/tool_paramhlp.h
+++ b/src/tool_paramhlp.h
@@ -37,7 +37,7 @@ long proto2num(struct Configurable *config, long *val, const char *str);
int str2offset(curl_off_t *val, const char *str);
-void checkpasswd(const char *kind, char **userpwd);
+ParameterError checkpasswd(const char *kind, char **userpwd);
ParameterError add2list(struct curl_slist **list, const char *ptr);
@@ -47,7 +47,5 @@ int ftpcccmethod(struct Configurable *config, const char *str);
long delegation(struct Configurable *config, char *str);
-
-
#endif /* HEADER_CURL_TOOL_PARAMHLP_H */