mime: spelling

pull/8829/head
Victor Julien 3 years ago
parent 29056e116c
commit 9e7611278f

@ -1322,7 +1322,7 @@ static int ProcessBase64BodyLine(const uint8_t *buf, uint32_t len,
/* First process remaining from previous line. We will consume /* First process remaining from previous line. We will consume
* state->bvremain, filling it from 'buf' until we have a properly * state->bvremain, filling it from 'buf' until we have a properly
* sized block. Spaces are skipped (rfc2045). If state->bvr_len * sized block. Spaces are skipped (rfc2045). If state->bvr_len
* is not 0 after procesing we have no data left at 'buf'. */ * is not 0 after processing we have no data left at 'buf'. */
if (state->bvr_len > 0) { if (state->bvr_len > 0) {
uint32_t consumed = ProcessBase64Remainder(buf, len, state, 0); uint32_t consumed = ProcessBase64Remainder(buf, len, state, 0);
DEBUG_VALIDATE_BUG_ON(consumed > len); DEBUG_VALIDATE_BUG_ON(consumed > len);
@ -1510,7 +1510,7 @@ static int ProcessQuotedPrintableBodyLine(const uint8_t *buf, uint32_t len,
state->data_chunk_len += EOL_LEN; state->data_chunk_len += EOL_LEN;
} }
/* Account for extra 2 characters in 3-characted QP /* Account for extra 2 characters in 3-character QP
* sequence */ * sequence */
remaining -= 2; remaining -= 2;
offset += 2; offset += 2;

Loading…
Cancel
Save