diff options
Diffstat (limited to 'libs/libcurl/src/getinfo.c')
-rw-r--r-- | libs/libcurl/src/getinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libcurl/src/getinfo.c b/libs/libcurl/src/getinfo.c index 758cf54bbe..c3556b3102 100644 --- a/libs/libcurl/src/getinfo.c +++ b/libs/libcurl/src/getinfo.c @@ -578,7 +578,7 @@ CURLcode Curl_getinfo(struct Curl_easy *data, CURLINFO info, ...) CURLcode result = CURLE_UNKNOWN_OPTION; if(!data) - return result; + return CURLE_BAD_FUNCTION_ARGUMENT; va_start(arg, info); |