From: Anthony Minessale Date: Sat, 6 Oct 2007 23:44:39 +0000 (+0000) Subject: smal fix X-Git-Tag: v1.0-beta2~538 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e2f20bc0b4a1818cf71a475305d36a3dafab98;p=thirdparty%2Ffreeswitch.git smal fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5827 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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; }