From: Martin Mares Date: Tue, 18 Nov 1997 10:35:02 +0000 (+0000) Subject: Oops, forgot to commit recent changes... X-Git-Tag: v1.13~45 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1d998f358d31c1f83527c50489e99c69e4884b06;p=nwho.git Oops, forgot to commit recent changes... --- diff --git a/ChangeLog b/ChangeLog index b5eb130..c4fd408 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 17 18:14:18 1997 Martin Mares + + * nwho.c (show_users): Problems with long user names hopefully gone. + Tue Sep 30 16:52:44 1997 Martin Mares * nwho.c (scan): <= instead of < was causing invalid messages diff --git a/nwho.c b/nwho.c index b41adc8..94a07fe 100644 --- a/nwho.c +++ b/nwho.c @@ -71,7 +71,7 @@ show_users(char *name, struct rywho_pkt *p) for(u=0; uusers[u]; - printf("%-8s %-3s %c %-16s ", i->name, i->con, (i->mesg_y ? ' ' : '-'), name); + printf("%-8.8s %-3s %c %-16s ", i->name, i->con, (i->mesg_y ? ' ' : '-'), name); puttime(ntohl(i->login_time)); putchar(' '); puttime(ntohl(i->idle_time));