Skip to content

Commit

Permalink
mdeliver: fix too eager use of MAILDIR_COLON
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jun 15, 2024
1 parent b078f8c commit 6adf988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdeliver.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ deliver(char *infilename)
if (Mflag && in_header &&
(strncasecmp("status:", line, 7) == 0 ||
strncasecmp("x-status:", line, 9) == 0)) {
char *v = strchr(line, MAILDIR_COLON);
char *v = strchr(line, ':');
if (v) {
if (strchr(v, 'F')) statusflags[0] = 'F';
if (strchr(v, 'A')) statusflags[1] = 'R';
Expand Down

0 comments on commit 6adf988

Please sign in to comment.