Changed the column headers in the user list to
authorArt Cancro <ajc@citadel.org>
Wed, 21 Nov 2007 19:13:13 +0000 (19:13 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 21 Nov 2007 19:13:13 +0000 (19:13 +0000)
reflect modern terminology.  Last Call is now Last Visit, Calls is now
Logins, and Posts is now Messages.

citadel/citadel.c
citadel/userlist.c

index 5f7420b0770551e9e223c49f39f4daf5e1dec4c2..522784666464ef41f97e7490def01fb34ae35739 100644 (file)
@@ -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));
                    }
 
                }
index 0e7e3fbfd92cf651eaf78f4d12302d25bee5b43d..388761b45249f85ee24b1786d19b2814fad0be24 100644 (file)
@@ -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");