From 1d998f358d31c1f83527c50489e99c69e4884b06 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 18 Nov 1997 10:35:02 +0000 Subject: [PATCH] Oops, forgot to commit recent changes... --- ChangeLog | 4 ++++ nwho.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)); -- 2.39.2