Alexander Barton : Fix C syntax: duplicate "; ; " should be "; "
Module: ngircd.git Branch: master Commit: 5cbdcf4f0d44709798469f09a72d4b4bd56d6e93 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=5cbdcf4f0... Author: Alexander Barton <alex@barton.de> Date: Sun Feb 26 15:27:04 2012 +0100 Fix C syntax: duplicate ";;" should be ";" Using gcc 2.7.2, this fixes: irc-channel.c: In function `join_allowed': irc-channel.c:86: parse error before `const' --- src/ngircd/irc-channel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index 5ea108a..d714b48 100644 --- a/src/ngircd/irc-channel.c +++ b/src/ngircd/irc-channel.c @@ -82,7 +82,7 @@ static bool join_allowed(CLIENT *Client, CHANNEL *chan, const char *channame, const char *key) { - bool is_invited, is_banned, is_exception;; + bool is_invited, is_banned, is_exception; const char *channel_modes; /* Allow IRC operators to overwrite channel limits */
Teilnehmer (1)
-
alex@arthur.barton.de