aboutsummaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/security.c b/lib/security.c
index 25cd483c1..9e74eb277 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -566,11 +566,10 @@ static CURLcode choose_mech(struct connectdata *conn)
return mech != NULL ? CURLE_OK : CURLE_FAILED_INIT;
}
-int
+CURLcode
Curl_sec_login(struct connectdata *conn)
{
- CURLcode code = choose_mech(conn);
- return code == CURLE_OK;
+ return choose_mech(conn);
}