mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Merged revisions 62842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r62842 | kpfleming | 2007-05-02 20:23:37 -0400 (Wed, 02 May 2007) | 10 lines Merged revisions 62841 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02 May 2007) | 2 lines doh... initializing the pointer variable will work just a bit better ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -487,7 +487,7 @@ static struct ast_config *config_odbc(const char *database, const char *table, c | ||||
| 	int res = 0; | ||||
| 	struct odbc_obj *obj; | ||||
| 	char sqlbuf[1024] = ""; | ||||
| 	char *sql; | ||||
| 	char *sql = sqlbuf; | ||||
| 	size_t sqlleft = sizeof(sqlbuf); | ||||
| 	unsigned int last_cat_metric = 0; | ||||
| 	SQLSMALLINT rowcount = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user