commit 91e673efade0f57c459069fd7a08e66fc952fa8b parent df4f869d2eb9c32dc2203c79cc1634b1849a9d7b Author: Anselm R. Garbe <garbeam@wmii.de> Date: Mon, 23 Jan 2006 14:35:55 +0200 fix Diffstat:
M | ii.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c @@ -124,7 +124,7 @@ static void add_channel(char *name) perror("ii: cannot allocate memory"); exit(EXIT_FAILURE); } - if(channels) + if(!channels) channels = c; else c->next = channels;