aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rfc822.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/rfc822.c b/rfc822.c
index 2de6de2a..1024bc8b 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -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)