This commit is contained in:
Anselm R. Garbe 2006-01-23 14:35:55 +02:00
parent df4f869d2e
commit 91e673efad

2
ii.c
View File

@ -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;