cpl-c(k): fix gcc warning by making the check more explicit
authorHenning Westerholt <henning.westerholt@1und1.de>
Fri, 23 Jul 2010 12:07:04 +0000 (14:07 +0200)
committerHenning Westerholt <henning.westerholt@1und1.de>
Fri, 23 Jul 2010 12:07:04 +0000 (14:07 +0200)
modules_k/cpl-c/cpl_proxy.h

index 8516a93..bad2fcc 100644 (file)
@@ -163,7 +163,7 @@ static void reply_callback( struct cell* t, int type, struct tmcb_params* ps)
                        *(ps->param) = 0;
                }
                return;
-       } else if (!type&TMCB_ON_FAILURE) {
+       } else if (! (type&TMCB_ON_FAILURE)) {
                LM_ERR("unknown type %d\n",type);
                goto exit;
        }