diff options
-rw-r--r-- | rfc822.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -33,16 +33,16 @@ const char *host; /* server hostname */ int addresscount = 1; #endif /* TESTMAIN */ - if (strncasecmp("From:", buf, 6) - && strncasecmp("To:", buf, 4) - && strncasecmp("Reply-To:", buf, 10) - && strncasecmp("Return-Path:", buf, 13) - && strncasecmp("Cc:", buf, 4) - && strncasecmp("Bcc:", buf, 5) - && strncasecmp("Resent-From:", buf, 13) - && strncasecmp("Resent-To:", buf, 11) - && strncasecmp("Resent-Cc:", buf, 11) - && strncasecmp("Resent-Bcc:", buf, 12) + if (strncasecmp("From:", buf, 5) + && strncasecmp("To:", buf, 3) + && strncasecmp("Reply-To:", buf, 9) + && strncasecmp("Return-Path:", buf, 12) + && strncasecmp("Cc:", buf, 3) + && strncasecmp("Bcc:", buf, 4) + && strncasecmp("Resent-From:", buf, 12) + && strncasecmp("Resent-To:", buf, 10) + && strncasecmp("Resent-Cc:", buf, 10) + && strncasecmp("Resent-Bcc:", buf, 11) && strncasecmp("Apparently-From:", buf, 16) && strncasecmp("Apparently-To:", buf, 14) && strncasecmp("Sender:", buf, 7) |