From: Michael Jerris Date: Fri, 21 May 2010 13:19:51 +0000 (-0400) Subject: initialize node_index X-Git-Tag: git2svn-syncpoint-master~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bf1d838472cbe6074e5b3a334786658a93caad;p=thirdparty%2Ffreeswitch.git initialize node_index --- diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index b711244e46..b08484fae7 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -55,6 +55,7 @@ SWITCH_DECLARE_CONSTRUCTOR EventConsumer::EventConsumer(const char *event_name, switch_core_new_memory_pool(&pool); switch_queue_create(&events, 5000, pool); + node_index = 0; if (!zstr(event_name)) { bind(event_name, subclass_name);