*
* \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.
*/
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;
}
}
/*
- * \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)
{
/* 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) */