git clone https://orangeshoelaces.net/git/ii.git
Author: nion@noname on 01/29/2006
Committer: nion@noname on 01/29/2006
removed get_channel function
ii.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/ii.c b/ii.c
index 0323d5f..c582032 100644
--- a/ii.c
+++ b/ii.c
@@ -89,13 +89,6 @@ static void create_filepath(char *filepath, size_t len, char *channel, char *suf
}
}
-static Channel *get_channel(int fd)
-{
- Channel *c;
- for (c = channels; c && c->fd != fd; c = c->next);
- return c;
-}
-
static int open_channel(char *name)
{
static char infile[256];