[Freeswitch-svn] [commit] r5827 - freeswitch/trunk/src/mod/applications/mod_commands

Freeswitch SVN anthm at freeswitch.org
Sat Oct 6 19:44:39 EDT 2007


Author: anthm
Date: Sat Oct  6 19:44:39 2007
New Revision: 5827

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

Log:
smal fix

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Sat Oct  6 19:44:39 2007
@@ -42,10 +42,10 @@
 SWITCH_STANDARD_API(status_function)
 {
 	uint8_t html = 0;
-	switch_core_time_duration_t duration;
+	switch_core_time_duration_t duration = {0};
 	char *http = NULL;
-	int sps, last_sps;
-
+	int sps = 0, last_sps = 0;
+	
 	if (session) {
 		return SWITCH_STATUS_FALSE;
 	}



More information about the Freeswitch-svn mailing list