From 7a716be7a8a16e6cdeb2d1bd5d9d8b9f70ff4d62 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 21 Nov 2007 19:13:13 +0000 Subject: [PATCH] Changed the column headers in the user list to reflect modern terminology. Last Call is now Last Visit, Calls is now Logins, and Posts is now Messages. --- citadel/citadel.c | 6 +++--- citadel/userlist.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/citadel/citadel.c b/citadel/citadel.c index 5f7420b07..522784666 100644 --- a/citadel/citadel.c +++ b/citadel/citadel.c @@ -239,8 +239,8 @@ void userlist(CtdlIPC *ipc, char *patn) return; } - pprintf(" User Name Num L LastCall Calls Posts\n"); - pprintf("------------------------- ----- - ---------- ----- -----\n"); + pprintf(" User Name Num L Last Visit Logins Messages\n"); + pprintf("------------------------- ----- - ---------- ------ --------\n"); if (listing != NULL) while (!IsEmptyStr(listing)) { extract_token(buf, listing, 0, '\n', sizeof buf); remove_token(listing, 0, '\n'); @@ -257,7 +257,7 @@ void userlist(CtdlIPC *ipc, char *patn) (tmbuf.tm_mon + 1), tmbuf.tm_mday, (tmbuf.tm_year + 1900)); - pprintf("%5ld %5ld\n", extract_long(buf, 4), extract_long(buf, 5)); + pprintf("%6ld %8ld\n", extract_long(buf, 4), extract_long(buf, 5)); } } diff --git a/citadel/userlist.c b/citadel/userlist.c index 0e7e3fbfd..388761b45 100644 --- a/citadel/userlist.c +++ b/citadel/userlist.c @@ -45,8 +45,8 @@ void userlist(CtdlIPC *ipc) { printf("%s\n", buf); return; } - printf(" User Name Num L LastCall Calls Posts\n"); - printf("------------------------- ----- - ---------- ----- -----\n"); + printf(" User Name Num L Last Visit Logins Messages\n"); + printf("------------------------- ----- - ---------- ------ --------\n"); while (strlen(listing) > 0) { extract_token(buf, listing, 0, '\n', sizeof buf); remove_token(listing, 0, '\n'); @@ -60,7 +60,7 @@ void userlist(CtdlIPC *ipc) { (tmbuf.tm_mon+1), tmbuf.tm_mday, (tmbuf.tm_year + 1900)); - printf("%5ld %5ld\n", + printf("%6ld %8ld\n", extract_long(buf,4),extract_long(buf,5)); } printf("\n"); -- 2.39.2