[Freeswitch-svn] [commit] r13029 - freeswitch/trunk/src/mod/applications/mod_cidlookup

FreeSWITCH SVN rupa at freeswitch.org
Wed Apr 15 08:10:20 PDT 2009


Author: rupa
Date: Wed Apr 15 10:10:20 2009
New Revision: 13029

Log:
set initial value for status


Modified:
   freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c

Modified: freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c	Wed Apr 15 10:10:20 2009
@@ -272,7 +272,7 @@
 
 switch_bool_t set_cache(switch_memory_pool_t *pool, const char *number, const char *cid) {
 	char *cmd;
-	switch_bool_t success;
+	switch_bool_t success = SWITCH_TRUE;
 	switch_stream_handle_t stream = { 0 };
 	
 	SWITCH_STANDARD_STREAM(stream);



More information about the Freeswitch-svn mailing list