From: Alexander Barton Date: Tue, 31 Jul 2007 20:48:15 +0000 (+0000) Subject: Fixed a compile problem with elder gcc (detected with 2.95.2). [from HEAD] X-Git-Tag: rel-0-10-4~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d64ab2a36ddbcb8684e37567d8d072752cc3e186;p=ngircd Fixed a compile problem with elder gcc (detected with 2.95.2). [from HEAD] --- diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 94993d4c..b5428fea 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -17,7 +17,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: channel.c,v 1.56.2.3 2007/04/03 22:08:52 fw Exp $"; +static char UNUSED id[] = "$Id: channel.c,v 1.56.2.4 2007/07/31 20:48:15 alex Exp $"; #include "imp.h" #include @@ -602,7 +602,7 @@ Channel_IsMemberOf( CHANNEL *Chan, CLIENT *Client ) assert( Chan != NULL ); assert( Client != NULL ); - return Get_Cl2Chan(Chan, Client); + return Get_Cl2Chan(Chan, Client) != NULL; } /* Channel_IsMemberOf */