From 8eba739a531c36962d33505fe95728e9b5b118bc Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Wed, 7 Nov 2007 18:31:27 +0000 Subject: [PATCH] cleanup SVN revision: 32425 --- imap2.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/imap2.c b/imap2.c index 065ff52..89db975 100644 --- a/imap2.c +++ b/imap2.c @@ -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; }