瀏覽代碼

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

Henning Westerholt 15 年之前
父節點
當前提交
a01c593a96
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 	}