[svn-commits] mnicholson: branch group/newcdr r202077 - /team/group/newcdr/cel/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 19 17:10:19 CDT 2009


Author: mnicholson
Date: Fri Jun 19 17:10:16 2009
New Revision: 202077

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202077
Log:
Fixed crash with when userdeftype was defined in the database table but was not included in the CEL event.

Modified:
    team/group/newcdr/cel/cel_adaptive_odbc.c

Modified: team/group/newcdr/cel/cel_adaptive_odbc.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/cel/cel_adaptive_odbc.c?view=diff&rev=202077&r1=202076&r2=202077
==============================================================================
--- team/group/newcdr/cel/cel_adaptive_odbc.c (original)
+++ team/group/newcdr/cel/cel_adaptive_odbc.c Fri Jun 19 17:10:16 2009
@@ -353,7 +353,7 @@
 	SQLHSTMT stmt = NULL;
 	SQLLEN rows = 0;
 	enum ast_cel_event_type eventtype;
-	const char *userdefname = 0;
+	const char *userdefname = "";
 	struct timeval eventtime = {0};
 	const char *cid_ani, *cid_rdnis, *cid_name, *cid_num, *cid_dnid;
 	const char *exten, *context, *channame, *appname, *appdata, *accountcode, *peeraccount, *uniqueid, *linkedid, *userfield, *peer;




More information about the svn-commits mailing list