fix freeze dropping v-card with base64 data we can't parse, sr=mscott 334947

git-svn-id: svn://10.0.0.236/trunk@198329 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com 2006-05-24 16:48:17 +00:00
parent 819a6fcabf
commit fed13d8a86

View File

@ -1127,9 +1127,9 @@ static int yylex() {
if (lexWithinMode(L_BASE64)) {
/* get each char and convert to bin on the fly... */
p = lexGetDataFromBase64();
yylval.str = p;
return STRING;
}
yylval.str = p;
return !p && lexLookahead() == EOF ? 0 : STRING;
}
else if (lexWithinMode(L_QUOTED_PRINTABLE)) {
p = lexGetQuotedPrintable();
}