mirror of
https://github.com/curl/curl.git
synced 2026-07-24 08:47:50 +03:00
smtp: Updated limit check to be more readable like the check in pop3
This commit is contained in:
parent
18bfc8f2d7
commit
1d7c38e1f0
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ static CURLcode smtp_perform_authenticate(struct connectdata *conn)
|
|||
if(!result) {
|
||||
/* Perform SASL based authentication */
|
||||
if(initresp &&
|
||||
strlen(mech) + len <= 512 - 8) { /* AUTH <mech> ...<crlf> */
|
||||
8 + strlen(mech) + len <= 512) { /* AUTH <mech> ...<crlf> */
|
||||
result = Curl_pp_sendf(&smtpc->pp, "AUTH %s %s", mech, initresp);
|
||||
|
||||
if(!result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue