Module: sip-router
Branch: master
Commit: 3339e7a5bd205599fed63f82536626732b3f23d9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3339e7a…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Committer: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Wed Apr 3 14:46:27 2013 -0400
modules/sca: fix SCA_CALL_INFO_EMPTY macro
- test should be a logical OR, not AND.
---
modules/sca/sca_call_info.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/sca/sca_call_info.h b/modules/sca/sca_call_info.h
index 80d1265..c47a47e 100644
--- a/modules/sca/sca_call_info.h
+++ b/modules/sca/sca_call_info.h
@@ -48,7 +48,7 @@ struct _sca_call_info {
typedef struct _sca_call_info sca_call_info;
#define SCA_CALL_INFO_EMPTY( ci1 ) \
- (!(ci1) && ((ci1)->index == SCA_CALL_INFO_APPEARANCE_INDEX_ANY && \
+ (!(ci1) || ((ci1)->index == SCA_CALL_INFO_APPEARANCE_INDEX_ANY && \
(ci1)->state == SCA_APPEARANCE_STATE_UNKNOWN))
#define SCA_CALL_INFO_IS_SHARED_CALLER( ci1 ) \