diff options
author | Stef Walter <stef@memberwebs.com> | 2005-09-07 23:28:53 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-09-07 23:28:53 +0000 |
commit | d275e658878f9ad2814792ccebb18448de673ca6 (patch) | |
tree | 09c8129bcbaa6521153e62890c453f1520a03a8e /common/smtppass.c | |
parent | 2eb956b5dbe9aeb2009ec04422fd096d34ccf10b (diff) |
Handle empty addresses properly.
Diffstat (limited to 'common/smtppass.c')
-rw-r--r-- | common/smtppass.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/smtppass.c b/common/smtppass.c index 46c198d..7110152 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -1135,6 +1135,10 @@ static char* parse_address(char* line) * We parse out emails in the form of <blah@blah.com> * as well as accept other addresses. */ + + if(strncmp(line, "<>", 2) == 0) + return("<>"); + if(line[0] == '<') { if((t = strchr(line, '>')) != NULL) |