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_paramhlp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tool_paramhlp.h') 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 */ -- cgit v1.2.3