Skip to contentSkip to conversation

libcman: fix CMAN_DISPATCH_IGNORE_MASK

PATCH New Jan Pokorný 1 participant 1 message Oct 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcman: fix CMAN_DISPATCH_IGNORE_MASK

...which is expected to be bitwise OR
of CMAN_DISPATCH_IGNORE_{REPLY,DATA,EVENT}.

---
 cman/lib/libcman.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cman/lib/libcman.h +1 -1
index 9f97875..bc9cb71 100644
@@ -83,7 +83,7 @@ typedef enum {CMAN_REASON_PORTCLOSED,
 #define CMAN_DISPATCH_IGNORE_DATA   8
 #define CMAN_DISPATCH_IGNORE_EVENT 16
 #define CMAN_DISPATCH_TYPE_MASK     3
-#define CMAN_DISPATCH_IGNORE_MASK  46
+#define CMAN_DISPATCH_IGNORE_MASK  28
 
 /*
  * A node address. This is a complete sockaddr_in[6]
Signature · 1 line
1.7.9.4