mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Curl_smtp_escape_eob: first byte is index 0...
Fix a bug with with commit 2621dd42a4
that happened due to my last
second pre-commit cleanup of the change without proper testing
afterwards!
This commit is contained in:
parent
adaa3f6e14
commit
4fa0166173
@ -1671,8 +1671,8 @@ CURLcode Curl_smtp_escape_eob(struct connectdata *conn, ssize_t nread)
|
||||
si += smtpc->eob;
|
||||
|
||||
/* then compare the first byte */
|
||||
if(SMTP_EOB[smtpc->eob] == data->req.upload_fromhere[i])
|
||||
smtpc->eob=1;
|
||||
if(SMTP_EOB[0] == data->req.upload_fromhere[i])
|
||||
smtpc->eob = 1;
|
||||
else
|
||||
smtpc->eob = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user