SVN revision: 32425
This commit is contained in:
Sebastian Dransfeld 2007-11-07 18:31:27 +00:00
parent 1e742c57d1
commit 8eba739a53
1 changed files with 8 additions and 11 deletions

19
imap2.c
View File

@ -287,12 +287,7 @@ _mail_imap_server_data (void *data, int type, void *event)
if (data == reply)
E_FREE (reply);
else
{
data -= 2;
data = NULL;
data += 2;
size -= ic->prev.size;
}
size -= ic->prev.size;
}
if (reply)
@ -591,11 +586,13 @@ elements (char *p)
{
int count = 0;
if (!p) return 0;
do {
if (*p) count++;
p = strchr (p, ' ');
if (p) p++;
} while (p);
do
{
if (*p) count++;
p = strchr (p, ' ');
if (p) p++;
}
while (p);
return count;
}