small fix over previous commit

Monotone-Parent: 5fb0fae471bb22f9c4ce7361ef22d9d213f30c0b
Monotone-Revision: 4120c09ec69b99d41cd339f49faa9ae17aa03b61

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-05-17T12:08:22
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2011-05-17 12:08:22 +00:00
parent 1782f9b18d
commit 180c838a8a
1 changed files with 1 additions and 2 deletions

View File

@ -180,8 +180,7 @@ static NSData* _sanitizeContent(NSData *theData)
// We search until we find a '"' or a space
j = 8;
//while (*(bytes+j) != ' ' || *(bytes+j) != '"')
while (*(bytes+j) != '"')
while (*(bytes+j) != ' ' && *(bytes+j) != '"')
{
j++;