Skip to content
Snippets Groups Projects
Commit 793ac803 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

choose_mech: fix return code

Coverity CID 1241950. The pointer is never NULL but it might point to
NULL.
parent c2791caf
No related branches found
No related tags found
No related merge requests found
......@@ -564,7 +564,7 @@ static CURLcode choose_mech(struct connectdata *conn)
break;
}
return mech != NULL ? CURLE_OK : CURLE_FAILED_INIT;
return *mech != NULL ? CURLE_OK : CURLE_FAILED_INIT;
}
CURLcode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment