1
0
forked from bip/bip

I was on crack this day

This commit is contained in:
nohar 2005-08-24 22:54:46 +00:00
parent b3aa4c73dc
commit e32c1c1f1d
3 changed files with 3 additions and 30 deletions

2
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: net
Priority: optional
Maintainer: Arnaud Cornet <nohar@t1r.net>
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

View File

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

View File

@ -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
}
/*