Added KILL command.
[silc.git] / lib / silccore / silcsockconn.h
index 8a7967eb52f1c874c3542aa9dddc4182ca1119da..b54f12180424f1aaa342a3f08b762077392c76d3 100644 (file)
@@ -144,7 +144,7 @@ struct SilcSocketConnectionHB {
 /* Generic manipulation of flags */
 #define SF_SET(x, f) (x)->flags |= (1L << (f))
 #define SF_UNSET(x, f) (x)->flags &= ~(1L << (f))
-#define SF_IS(x, f) (x)->flags & (1L << (f))
+#define SF_IS(x, f) ((x)->flags & (1L << (f)))
 
 /* Setting/Unsetting flags */
 #define SILC_SET_OUTBUF_PENDING(x) SF_SET((x), SILC_SF_OUTBUF_PENDING)