]> arthur.barton.de Git - ngircd.git/commitdiff
#define MASK_LEN should use parentheses [from HEAD]
authorFlorian Westphal <fw@strlen.de>
Sat, 2 Dec 2006 13:05:38 +0000 (13:05 +0000)
committerFlorian Westphal <fw@strlen.de>
Sat, 2 Dec 2006 13:05:38 +0000 (13:05 +0000)
src/ngircd/lists.c

index 2ce880d63ecbc12446012c4b33829886b44001df..2149fb69a74788f92330ed955e535997633f489a 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: lists.c,v 1.18 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: lists.c,v 1.18.2.1 2006/12/02 13:05:38 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -36,7 +36,7 @@ static char UNUSED id[] = "$Id: lists.c,v 1.18 2005/07/31 20:13:08 alex Exp $";
 #include "lists.h"
 
 
-#define MASK_LEN 2*CLIENT_HOST_LEN
+#define MASK_LEN       (2*CLIENT_HOST_LEN)
 
 
 typedef struct _C2C
@@ -106,7 +106,7 @@ Lists_IsInviteEntry( char *Mask, CHANNEL *Chan )
 {
        assert( Mask != NULL );
        assert( Chan != NULL );
-       
+
        return Already_Registered( My_Invites, Mask, Chan );
 } /* Lists_IsInviteEntry */