wmail: skip leading white-space in From: headers.
This commit is contained in:
parent
9158bb68f3
commit
a3ef21b122
|
@ -34,6 +34,7 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// includes
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -936,7 +937,8 @@ char *ParseFromField( char *buf )
|
|||
continue;
|
||||
} // else do the default action
|
||||
default:
|
||||
fullName[ strlen( fullName ) ] = *c;
|
||||
if( fullName[0] != '\0' || !isspace ( *c ))
|
||||
fullName[ strlen( fullName ) ] = *c;
|
||||
}
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue