Module: sip-router
Branch: master
Commit: f33076415561d3efbfa9d804d00a4b0784898f50
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f330764…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Nov 4 21:46:34 2013 +0100
sl: fix startup detection of event route
- patch by Sergey Okhapkin
---
modules/sl/sl_funcs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/sl/sl_funcs.c b/modules/sl/sl_funcs.c
index fd19e1c..c642249 100644
--- a/modules/sl/sl_funcs.c
+++ b/modules/sl/sl_funcs.c
@@ -90,7 +90,7 @@ void sl_lookup_event_routes(void)
_sl_evrt_local_response = route_lookup(&event_rt, "sl:local-response");
if (_sl_evrt_local_response>=0
- && event_rt.rlist[_sl_evrt_local_response]!=NULL)
+ && event_rt.rlist[_sl_evrt_local_response]==NULL)
_sl_evrt_local_response = -1;
}