From 17757a9747ab4b70a42ace84bcf48bba921434c8 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 2 Aug 2001 03:42:03 +0000 Subject: [PATCH] * Changed the wholist to work with the new masquerade semantics --- webcit/ChangeLog | 4 ++- webcit/who.c | 90 ++++++++++++++---------------------------------- 2 files changed, 28 insertions(+), 66 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 26a230e58..acac8b82f 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 301.1 2001/08/02 03:42:03 ajc +* Changed the wholist to work with the new masquerade semantics + Revision 301.0 2001/06/28 15:05:31 ajc * tag for 3.01 @@ -603,4 +606,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/who.c b/webcit/who.c index 382482f6c..04c39bf19 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -1,6 +1,5 @@ /* $Id$ */ - #include #include #include @@ -27,29 +26,16 @@ - -struct whouser { - struct whouser *next; - int sessionnum; - char username[256]; - char roomname[256]; - char hostname[256]; - char clientsoftware[256]; -}; - /* * who is on? */ void whobbs(void) { - struct whouser *wlist = NULL; - struct whouser *wptr = NULL; - char buf[256], sess, user[256], room[256], host[256]; - int foundit; + char buf[256], sess, user[256], room[256], host[256], + realroom[256], realhost[256]; output_headers(7); - wprintf("