Module: sip-router
Branch: master
Commit: cfa35518d7517092efef75d2d296f4340f1dfb53
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cfa35518d7517092efef75d2d296f4340f1dfb53

Author: Andrei Pelinescu-Onciul <[email protected]>
Committer: Andrei Pelinescu-Onciul <[email protected]>
Date:   Tue Sep 22 16:34:04 2009 +0200

core: minor macro fix

---

 ut.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ut.h b/ut.h
index 1d207bd..6861af7 100644
--- a/ut.h
+++ b/ut.h
@@ -174,7 +174,7 @@ struct msgid_var{
 
 /* return the value or 0 if the msg_id doesn't match */
 #define get_msgid_val(var, id, type)\
-       (type)((type)((var).msgid!=(id))-1)&((var).u.type##_val)
+       ((type)((type)((var).msgid!=(id))-1)&((var).u.type##_val))
 
 #define set_msgid_val(var, id, type, value)\
        do{\


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to