diff --git a/debian/control b/debian/control index 3c1456a..dc244ba 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: net Priority: optional Maintainer: Arnaud Cornet Standards-Version: 3.6.1.1 -Build-Depends: cdbs, libssl-dev, bison, flex +Build-Depends: cdbs, libssl-dev, bison, flex, libc6-dev Package: bip Architecture: any diff --git a/src/bip.c b/src/bip.c index 8ae9daf..def4752 100644 --- a/src/bip.c +++ b/src/bip.c @@ -716,33 +716,6 @@ int fireup(FILE *conf) return 1; } -void print_link(struct link *l) -{ - (void)l; - printf("\n"); -} - -void print_sumup(void) -{ - hash_iterator_t it; - for (hash_it_init(&adm_users, &it); hash_it_item(&it); - hash_it_next(&it)) { - hash_t *u = hash_it_item(&it); - char *uk = hash_it_key(&it); - - printf("user: %s", uk); - - hash_iterator_t sit; - for (hash_it_init(u, &sit); hash_it_item(&sit); - hash_it_next(&sit)) { - struct link *l = hash_it_item(&sit); - char *ck = hash_it_key(&sit); - printf(" connection: %s", ck); - print_link(l); - } - } -} - void ircize(list_t *ll) { hash_iterator_t it; @@ -879,10 +852,8 @@ void ircize(list_t *ll) if (!link->real_name) link->real_name = strmaydup("bip"); - printf("clientc: %d\n", link->l_clientc); } } - print_sumup(); } int main(int argc, char **argv) diff --git a/src/irc.c b/src/irc.c index df2aebc..a9c73eb 100644 --- a/src/irc.c +++ b/src/irc.c @@ -311,8 +311,10 @@ static void irc_server_connected(struct link_server *server) free(str); } +#if 0 for (i = 0; i < LINK(server)->l_clientc; i++) irc_cli_make_join(LINK(server)->l_clientv[i]); +#endif } /*