* more whitch-hunt on strlen with isemptystr replacement.
[citadel.git] / citadel / modules / imap / imap_tools.c
index c12755015dcd17fdacef7350c52c7cb803423903..4298610f1b19353e06fb86ecd3f99707ab8accff 100644 (file)
@@ -626,7 +626,7 @@ int imap_is_message_set(char *buf)
 
        if (buf == NULL)
                return (0);     /* stupidity checks */
-       if (strlen(buf) == 0)
+       if (IsEmptyStr(buf))
                return (0);
 
        if (!strcasecmp(buf, "ALL"))