Removed IsEmptyStr from some loops as its quicker this way (probably).
authorDave West <davew@uncensored.citadel.org>
Thu, 23 Aug 2007 09:54:26 +0000 (09:54 +0000)
committerDave West <davew@uncensored.citadel.org>
Thu, 23 Aug 2007 09:54:26 +0000 (09:54 +0000)
citadel/modules/imap/imap_tools.c

index b73bb8b8e47bea5490b6f5908c12c9b3ac957bc9..080f9db7c0da74855888c081c1a321708207d763 100644 (file)
@@ -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] != ':')