From b00ac748f031787e7d80eba09b83ae70f910d119 Mon Sep 17 00:00:00 2001 From: Puggan Se Date: Wed, 30 Oct 2013 23:38:31 +0100 Subject: [PATCH] Made from_strip case-insesitive --- ssmtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssmtp.c b/ssmtp.c index af4d1e5..f055722 100644 --- a/ssmtp.c +++ b/ssmtp.c @@ -433,7 +433,7 @@ char *from_strip(char *str) (void)fprintf(stderr, "*** from_strip(): str = [%s]\n", str); #endif - if(strncmp("From:", str, 5) == 0) { + if(strncasecmp("From:", str, 5) == 0) { str += 5; }