* more whitch-hunt on strlen with isemptystr replacement.
[citadel.git] / citadel / modules / imap / imap_acl.c
index 1632532db3675e21f73983dc17a03295fad1b946..369afce88e896a53d7d693075bcdb6ae73150c0d 100644 (file)
@@ -176,9 +176,9 @@ void imap_getacl(int num_parms, char *parms[]) {
                cdb_free(cdbus);
 
                CtdlRoomAccess(&CC->room, &temp, &ra, NULL);
-               if (strlen(temp.fullname) > 0) {
+               if (!IsEmptyStr(temp.fullname)) {
                        imap_acl_flags(rights, ra);
-                       if (strlen(rights) > 0) {
+                       if (!IsEmptyStr(rights)) {
                                cprintf(" ");
                                imap_strout(temp.fullname);
                                cprintf(" %s", rights);