Loading lib/url.c +7 −4 Original line number Original line Diff line number Diff line Loading @@ -376,6 +376,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) { { va_list param; va_list param; char *argptr; char *argptr; CURLcode result = CURLE_OK; va_start(param, option); va_start(param, option); Loading Loading @@ -1145,11 +1146,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) } } else { else { failf(data, "SSL Engine '%s' not found", argptr); failf(data, "SSL Engine '%s' not found", argptr); return CURLE_SSL_ENGINE_NOTFOUND; result = CURLE_SSL_ENGINE_NOTFOUND; } } #else #else failf(data, "SSL Engine not supported"); failf(data, "SSL Engine not supported"); return CURLE_SSL_ENGINE_NOTFOUND; result = CURLE_SSL_ENGINE_NOTFOUND; #endif #endif } } break; break; Loading Loading @@ -1424,9 +1425,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) default: default: /* unknown tag and its companion, just ignore: */ /* unknown tag and its companion, just ignore: */ return CURLE_FAILED_INIT; /* correct this */ result = CURLE_FAILED_INIT; /* correct this */ break; } } return CURLE_OK; return result; } } CURLcode Curl_disconnect(struct connectdata *conn) CURLcode Curl_disconnect(struct connectdata *conn) Loading Loading
lib/url.c +7 −4 Original line number Original line Diff line number Diff line Loading @@ -376,6 +376,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) { { va_list param; va_list param; char *argptr; char *argptr; CURLcode result = CURLE_OK; va_start(param, option); va_start(param, option); Loading Loading @@ -1145,11 +1146,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) } } else { else { failf(data, "SSL Engine '%s' not found", argptr); failf(data, "SSL Engine '%s' not found", argptr); return CURLE_SSL_ENGINE_NOTFOUND; result = CURLE_SSL_ENGINE_NOTFOUND; } } #else #else failf(data, "SSL Engine not supported"); failf(data, "SSL Engine not supported"); return CURLE_SSL_ENGINE_NOTFOUND; result = CURLE_SSL_ENGINE_NOTFOUND; #endif #endif } } break; break; Loading Loading @@ -1424,9 +1425,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) default: default: /* unknown tag and its companion, just ignore: */ /* unknown tag and its companion, just ignore: */ return CURLE_FAILED_INIT; /* correct this */ result = CURLE_FAILED_INIT; /* correct this */ break; } } return CURLE_OK; return result; } } CURLcode Curl_disconnect(struct connectdata *conn) CURLcode Curl_disconnect(struct connectdata *conn) Loading