From a6277f93c036d2534cf37f2962e44b571cb933d4 Mon Sep 17 00:00:00 2001 From: Dave West Date: Thu, 23 Aug 2007 09:54:26 +0000 Subject: [PATCH] Removed IsEmptyStr from some loops as its quicker this way (probably). --- citadel/modules/imap/imap_tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/modules/imap/imap_tools.c b/citadel/modules/imap/imap_tools.c index b73bb8b8e..080f9db7c 100644 --- a/citadel/modules/imap/imap_tools.c +++ b/citadel/modules/imap/imap_tools.c @@ -632,7 +632,7 @@ int imap_is_message_set(char *buf) if (!strcasecmp(buf, "ALL")) return (1); /* macro? why? */ - for (i = 0; !IsEmptyStr(&buf[i]); ++i) { /* now start the scan */ + for (i = 0; buf[i]; ++i) { /* now start the scan */ if ( (!isdigit(buf[i])) && (buf[i] != ':') -- 2.30.2