* more whitch-hunt on strlen with isemptystr replacement.
[citadel.git] / citadel / modules / funambol / serv_funambol.c
index 561be098664567f7c88a7d2eb3364b23573836cd..827bdb7172901eb320259e80c0b2acd5de998089 100644 (file)
@@ -112,7 +112,7 @@ void notify_funambol(long msgnum, void *userdata) {
                goto nuke;
        }
        /* Are we allowed to push? */
-       if ( strlen(config.c_funambol_host) == 0) {
+       if (IsEmptyStr(config.c_funambol_host)) {
                goto nuke;
        } else {
                lprintf(CTDL_INFO, "Push enabled\n");