Module: sip-router
Branch: master
Commit: 5a12da43be12731c8d4cf0d4943bebd6dd296bef
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5a12da4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu May 31 23:39:03 2012 +0200
usrloc(k): fix detection of usrloc callbacks
- proper check of ul callback types
- harmless, just a bit of performance gain, however, the code was
mistaken
---
modules_k/usrloc/ul_callback.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/usrloc/ul_callback.h b/modules_k/usrloc/ul_callback.h
index dadce6d..e91ecf1 100644
--- a/modules_k/usrloc/ul_callback.h
+++ b/modules_k/usrloc/ul_callback.h
@@ -67,7 +67,7 @@ extern struct ulcb_head_list* ulcb_list;
#define exists_ulcb_type(_types_) \
- ( (ulcb_list->reg_types)|(_types_) )
+ ( (ulcb_list->reg_types)&(_types_) )
int init_ulcb_list(void);