mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Do a massive conversion for using the ast_verb() macro
(closes issue #10277, patches by mvanbaak) Basically, this changes ... if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3, "Something\n"); to ... ast_verb(3, "Something\n"); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -324,8 +324,7 @@ static int acf_odbc_read(struct ast_channel *chan, const char *cmd, char *s, cha | ||||
| 	if ((res != SQL_SUCCESS) && (res != SQL_SUCCESS_WITH_INFO)) { | ||||
| 		int res1 = -1; | ||||
| 		if (res == SQL_NO_DATA) { | ||||
| 			if (option_verbose > 3) | ||||
| 				ast_verbose(VERBOSE_PREFIX_4 "Found no rows [%s]\n", sql); | ||||
| 			ast_verb(4, "Found no rows [%s]\n", sql); | ||||
| 			res1 = 0; | ||||
| 			ast_copy_string(rowcount, "0", sizeof(rowcount)); | ||||
| 		} else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user