[svn-commits] kpfleming: branch 1.4 r62842 - in /branches/1.4: ./
res/res_config_odbc.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed May 2 17:23:38 MST 2007
Author: kpfleming
Date: Wed May 2 19:23:37 2007
New Revision: 62842
URL: http://svn.digium.com/view/asterisk?view=rev&rev=62842
Log:
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:
branches/1.4/ (props changed)
branches/1.4/res/res_config_odbc.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/res/res_config_odbc.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_config_odbc.c?view=diff&rev=62842&r1=62841&r2=62842
==============================================================================
--- branches/1.4/res/res_config_odbc.c (original)
+++ branches/1.4/res/res_config_odbc.c Wed May 2 19:23:37 2007
@@ -485,7 +485,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 svn-commits
mailing list