Browse Source

cpl-c(k): fix gcc warning by making the check more explicit

Henning Westerholt 15 years ago
parent
commit
a01c593a96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules_k/cpl-c/cpl_proxy.h

+ 1 - 1
modules_k/cpl-c/cpl_proxy.h

@@ -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;
 	}