From: Florian Westphal Date: Sat, 2 Dec 2006 13:05:38 +0000 (+0000) Subject: #define MASK_LEN should use parentheses [from HEAD] X-Git-Tag: rel-0-10-1~14 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git;a=commitdiff_plain;h=6c12659bcf129024fbbf3fd26b3b83a22320a65a #define MASK_LEN should use parentheses [from HEAD] --- diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 2ce880d6..2149fb69 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -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 @@ -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 */