smtp/mime: Fix typos

pull/4626/head
Jeff Lucovsky 6 years ago committed by Victor Julien
parent 130b8d26e7
commit 9a33b5d5de

@ -560,7 +560,7 @@ int SMTPProcessDataChunk(const uint8_t *chunk, uint32_t len,
*
* \param state The smtp state.
*
* \retval 0 On suceess.
* \retval 0 On success.
* \retval -1 Either when we don't have any new lines to supply anymore or
* on failure.
*/
@ -890,7 +890,7 @@ static int SMTPProcessCommandDATA(SMTPState *state, Flow *f,
SCEnter();
if (!(state->parser_state & SMTP_PARSER_STATE_COMMAND_DATA_MODE)) {
/* looks like are still waiting for a confirmination from the server */
/* looks like are still waiting for a confirmation from the server */
return 0;
}
@ -3054,7 +3054,7 @@ end:
}
/*
* \test Test smtp with just <LF> delimter instead of <CR><LF>.
* \test Test smtp with just <LF> delimiter instead of <CR><LF>.
*/
static int SMTPParserTest04(void)
{

@ -52,7 +52,7 @@
/* Anomaly Flags */
#define ANOM_INVALID_BASE64 1 /* invalid base64 chars */
#define ANOM_INVALID_QP 2 /* invalid qouted-printable chars */
#define ANOM_INVALID_QP 2 /* invalid quoted-printable chars */
#define ANOM_LONG_HEADER_NAME 4 /* header is abnormally long */
#define ANOM_LONG_HEADER_VALUE 8 /* header value is abnormally long
* (includes multi-line) */

Loading…
Cancel
Save