Skip to content

Commit

Permalink
smtp: result of Curl_bufq_cread was not used
Browse files Browse the repository at this point in the history
return the result back to the caller.

Closes #13398
  • Loading branch information
MonkeybreadSoftware authored and bagder committed Apr 17, 2024
1 parent c37b694 commit 4746b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1903,7 +1903,7 @@ static CURLcode cr_eob_read(struct Curl_easy *data,
*peos = ctx->eos;
DEBUGF(infof(data, "cr_eob_read(%zu) -> %d, %zd, %d",
blen, result, *pnread, *peos));
return CURLE_OK;
return result;
}

static curl_off_t cr_eob_total_length(struct Curl_easy *data,
Expand Down

0 comments on commit 4746b83

Please sign in to comment.