Skip to content

Commit

Permalink
imap authplain support
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Dec 1, 2024
1 parent 64c5db9 commit e8d567e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode_imap.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ decode_imap(u_char *buf, int len, u_char *obuf, int olen)
mode = AUTHPLAIN;
need_more = 1;
continue;
else if ((strncasecmp(p, "AUTHENTICATE ", 13) == 0) || (strncasecmp(p, "LOGIN {", 6) == 0)) {
} else if ((strncasecmp(p, "AUTHENTICATE ", 13) == 0) || (strncasecmp(p, "LOGIN {", 6) == 0)) {
strlcat(obuf, p, olen);
mode = AUTHMULTI;
need_more = 2;
Expand Down

0 comments on commit e8d567e

Please sign in to comment.