Skip to content

Commit

Permalink
Made from_strip case-insesitive
Browse files Browse the repository at this point in the history
  • Loading branch information
puggan committed Oct 30, 2013
1 parent 6ab34f3 commit 68c34ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssmtp.c
Expand Up @@ -471,7 +471,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;
}

Expand Down

0 comments on commit 68c34ec

Please sign in to comment.