* more whitch-hunt on strlen with isemptystr replacement.
[citadel.git] / citadel / modules / vandelay / serv_vandelay.c
index b1c3630c0cdf9a3facc2a41d4c6db96e536e01ea..8380cec4d017b995c2d2b337a8d826d2fcd2b0a6 100644 (file)
@@ -199,7 +199,7 @@ void artv_export_visits(void) {
                cprintf("%ld\n", vbuf.v_roomgen);
                cprintf("%ld\n", vbuf.v_usernum);
 
-               if (strlen(vbuf.v_seen) > 0) {
+               if (!IsEmptyStr(vbuf.v_seen)) {
                        cprintf("%s\n", vbuf.v_seen);
                }
                else {