diff options
-rw-r--r-- | mailutils/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c index 8ddb7826b..b542099fd 100644 --- a/mailutils/sendmail.c +++ b/mailutils/sendmail.c | |||
@@ -150,7 +150,7 @@ static char *sane_address(char *str) | |||
150 | trim(str); | 150 | trim(str); |
151 | s = str; | 151 | s = str; |
152 | while (*s) { | 152 | while (*s) { |
153 | if (!isalnum(*s) && !strchr("_-.@", *s)) { | 153 | if (!isalnum(*s) && !strchr("+_-.@", *s)) { |
154 | bb_error_msg("bad address '%s'", str); | 154 | bb_error_msg("bad address '%s'", str); |
155 | /* returning "": */ | 155 | /* returning "": */ |
156 | str[0] = '\0'; | 156 | str[0] = '\0'; |