Module: sip-router
Branch: master
Commit: 6435d8a8666423eda76a0bddae5ee74690882969
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6435d8a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Sep 10 20:11:14 2014 +0200
core: fix execution of callbacks list for net_data_in
---
events.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/events.c b/events.c
index 6de9e2f..0e1d85d 100644
--- a/events.c
+++ b/events.c
@@ -194,7 +194,7 @@ int sr_event_exec(int type, void *data)
#endif /* EXTRA_DEBUG */
ret = 0;
for(i=0; i<SREV_CB_LIST_SIZE
- && _sr_events_list.net_data_out[i]; i++) {
+ && _sr_events_list.net_data_in[i]; i++) {
ret |= _sr_events_list.net_data_in[i](data);
}
#ifdef EXTRA_DEBUG