From 01e2f20bc0b4a1818cf71a475305d36a3dafab98 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 6 Oct 2007 23:44:39 +0000 Subject: [PATCH] smal fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5827 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_commands/mod_commands.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 377beda9b6..12991dcbf8 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -42,10 +42,10 @@ SWITCH_MODULE_DEFINITION(mod_commands, mod_commands_load, NULL, NULL); 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; }