X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Ffunambol%2Fserv_funambol.c;h=827bdb7172901eb320259e80c0b2acd5de998089;hb=81c4e76237b24b9969982b6221def3929b95fe63;hp=561be098664567f7c88a7d2eb3364b23573836cd;hpb=a6b260d714010f962c6baef4c6f864e31f21b31d;p=citadel.git diff --git a/citadel/modules/funambol/serv_funambol.c b/citadel/modules/funambol/serv_funambol.c index 561be0986..827bdb717 100644 --- a/citadel/modules/funambol/serv_funambol.c +++ b/citadel/modules/funambol/serv_funambol.c @@ -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");