]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/channel.c
Refactoring: Rename CONNECTION.res_stat to .proc_stat
[ngircd-alex.git] / src / ngircd / channel.c
index 6f8507244501853c7b72b767864e5b250bd3fcf3..0fa38debc2c1d56e60f9477798076a2ed7ffc10d 100644 (file)
@@ -34,7 +34,6 @@
 
 #include "imp.h"
 #include "irc-write.h"
-#include "resolve.h"
 #include "conf.h"
 #include "hash.h"
 #include "lists.h"
@@ -1085,7 +1084,7 @@ Channel_CheckKey(CHANNEL *Chan, CLIENT *Client, const char *Key)
                return false;
        }
 
-       while (fgets(line, sizeof(line), fd) != NULL) {
+       while (fgets(line, (int)sizeof(line), fd) != NULL) {
                ngt_TrimStr(line);
                if (! (nick = strchr(line, ':')))
                        continue;