mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
re-use existing variable instead of declaring a new local one
This commit is contained in:
parent
5b72eb0b03
commit
f9c3347f7c
@ -833,11 +833,11 @@ Curl_SSLConnect(struct connectdata *conn)
|
||||
|
||||
/* give application a chance to interfere with SSL set up. */
|
||||
if (data->set.ssl.fsslctx) {
|
||||
CURLcode callbackresult = (*data->set.ssl.fsslctx)(data, conn->ssl.ctx,
|
||||
retcode = (*data->set.ssl.fsslctx)(data, conn->ssl.ctx,
|
||||
data->set.ssl.fsslctxp);
|
||||
if (callbackresult != CURLE_OK) {
|
||||
if (retcode) {
|
||||
failf(data,"error signaled by ssl ctx callback");
|
||||
return callbackresult;
|
||||
return retcode;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user