[Freeswitch-svn] [commit] r8446 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Fri May 16 13:29:22 EDT 2008


Author: anthm
Date: Fri May 16 13:29:22 2008
New Revision: 8446

Modified:
   freeswitch/trunk/src/switch_core_db.c

Log:
update

Modified: freeswitch/trunk/src/switch_core_db.c
==============================================================================
--- freeswitch/trunk/src/switch_core_db.c	(original)
+++ freeswitch/trunk/src/switch_core_db.c	Fri May 16 13:29:22 2008
@@ -96,7 +96,7 @@
 
 	if (errmsg) {
 		*errmsg = err;
-	} else {
+	} else if (err) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SQL ERR [%s]\n", err);
 		switch_core_db_free(err);
 		err = NULL;



More information about the Freeswitch-svn mailing list