mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Merged revisions 129741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129741 | tilghman | 2008-07-10 16:19:48 -0500 (Thu, 10 Jul 2008) | 2 lines Oops ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -142,8 +142,10 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl | ||||
| 	} | ||||
|  | ||||
| 	newparam = va_arg(aq, const char *); | ||||
| 	if (!newparam) | ||||
| 	if (!newparam) { | ||||
| 		ast_odbc_release_obj(obj); | ||||
| 		return NULL; | ||||
| 	} | ||||
| 	newval = va_arg(aq, const char *); | ||||
| 	op = !strchr(newparam, ' ') ? " =" : ""; | ||||
| 	snprintf(sql, sizeof(sql), "SELECT * FROM %s WHERE %s%s ?%s", table, newparam, op, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user