Skip to content

Commit

Permalink
lib openldap
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Apr 27, 2024
1 parent e74e355 commit b73157c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/openldap.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ static CURLcode oldap_parse_login_options(struct connectdata *conn)
ptr++;

if(checkprefix("AUTH=", key))
result = Curl_sasl_parse_url_auth_option(&li->sasl, value, ptr - value);
result = Curl_sasl_parse_url_auth_option(&li->sasl,
value, (size_t)(ptr - value));
else
result = CURLE_SETOPT_OPTION_SYNTAX;

Expand Down

0 comments on commit b73157c

Please sign in to comment.