mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -836,7 +836,7 @@ static int init_acf_query(struct ast_config *cfg, char *catg, struct acf_odbc_qu | ||||
| 		if (strcasecmp(tmp, "multirow") == 0) | ||||
| 			ast_set_flag((*query), OPT_MULTIROW); | ||||
| 		if ((tmp = ast_variable_retrieve(cfg, catg, "rowlimit"))) | ||||
| 			sscanf(tmp, "%d", &((*query)->rowlimit)); | ||||
| 			sscanf(tmp, "%30d", &((*query)->rowlimit)); | ||||
| 	} | ||||
|  | ||||
| 	(*query)->acf = ast_calloc(1, sizeof(struct ast_custom_function)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user