瀏覽代碼

userblacklist: fixed copy-paste typo when evaluating table parameter

Daniel-Constantin Mierla 9 年之前
父節點
當前提交
5d285e90b0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/userblacklist/userblacklist.c

+ 2 - 2
modules/userblacklist/userblacklist.c

@@ -248,9 +248,9 @@ static int check_user_list(sip_msg_t *msg, char* puser, char* pdomain,
 		}
 	}
 	/* table name */
-	if(pnumber != NULL) {
+	if(ptable != NULL) {
 		if(fixup_get_svalue(msg, (gparam_t*)ptable, &table)!=0) {
-			LM_ERR("cannot print number pseudo-variable\n");
+			LM_ERR("cannot print table pseudo-variable\n");
 			return -1;
 		}
 	}