소스 검색

userblacklist: fix typo on evaluating the table parameter

- regression introduced in previous commit, when converting to use core
  fixup helpers
- reported by Tim Balmer
Daniel-Constantin Mierla 9 년 전
부모
커밋
3ad232e1d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/userblacklist/userblacklist.c

+ 1 - 1
modules/userblacklist/userblacklist.c

@@ -236,7 +236,7 @@ static int check_user_list(sip_msg_t *msg, char* str1, char* str2,
 	}
 	/* table name */
 	if(str4 != NULL) {
-		if(fixup_get_svalue(msg, (gparam_t*)str3, &table)!=0) {
+		if(fixup_get_svalue(msg, (gparam_t*)str4, &table)!=0) {
 			LM_ERR("cannot print number pseudo-variable\n");
 			return -1;
 		}