initialize node_index

This commit is contained in:
Michael Jerris 2010-05-21 09:19:51 -04:00
parent 89a1c41a9f
commit 05bf1d8384
1 changed files with 1 additions and 0 deletions

View File

@ -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);