[asterisk-commits] kpfleming: trunk r62843 - in /trunk: ./
res/res_config_odbc.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed May 2 17:25:51 MST 2007
Author: kpfleming
Date: Wed May 2 19:25:50 2007
New Revision: 62843
URL: http://svn.digium.com/view/asterisk?view=rev&rev=62843
Log:
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
........
................
Modified:
trunk/ (props changed)
trunk/res/res_config_odbc.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/res/res_config_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_odbc.c?view=diff&rev=62843&r1=62842&r2=62843
==============================================================================
--- trunk/res/res_config_odbc.c (original)
+++ trunk/res/res_config_odbc.c Wed May 2 19:25:50 2007
@@ -487,7 +487,7 @@
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;
More information about the asterisk-commits
mailing list