* add typedefs in citadel.h so we don't need to typedef all over the place.
[citadel.git] / citadel / modules / extnotify / extnotify_main.c
index 338199522ac4c7e31c6d692aa437bb61ac92dce5..20d40a04ef57fe1a82b92baa73af83a316a0edea 100644 (file)
@@ -123,7 +123,7 @@ void process_notify(long msgnum, void *usrdata) {
      * 3. A Funambol server has been entered
      *
      */
-    if (configMsgNum == -1 || strncasecmp(configMsg, "none", 4) == 0 &&
+    if ((configMsgNum == -1) || (strncasecmp(configMsg, "none", 4) == 0) &&
     IsEmptyStr(config.c_pager_program) && IsEmptyStr(config.c_funambol_host)) {
         lprintf(CTDL_DEBUG, "No external notifiers configured on system/user");
         goto nuke;
@@ -220,4 +220,4 @@ CTDL_MODULE_INIT(extnotify)
        }
        /* return our Subversion id for the Log */
         return "$Id:  $";
-}
\ No newline at end of file
+}