From 41a65ce885872f04074061f00414b8d4fbab0caf Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 7 Sep 2005 23:28:53 +0000 Subject: Handle empty addresses properly. --- common/smtppass.c | 4 ++++ 1 file changed, 4 insertions(+) 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 * as well as accept other addresses. */ + + if(strncmp(line, "<>", 2) == 0) + return("<>"); + if(line[0] == '<') { if((t = strchr(line, '>')) != NULL) -- cgit v1.2.3