X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwho.c;h=c3bb03f868d59888bc5057be0143ce7d04da3372;hb=abeb8adc38f9d55fcb6cb3d076f57239b0a9a4d5;hp=18d1f0844ae063c0b5cf5fe108d35780d6948c6d;hpb=d96f96eef3dfd036a06a52740b69ba10cede6d30;p=citadel.git diff --git a/webcit/who.c b/webcit/who.c index 18d1f0844..c3bb03f86 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -84,11 +84,11 @@ void whobbs(void) if (buf[0] == '1') { while (serv_gets(buf), strcmp(buf, "000")) { sess = extract_int(buf, 0); - extract(user, buf, 1); - extract(room, buf, 2); - extract(host, buf, 3); - extract(realroom, buf, 9); - extract(realhost, buf, 10); + extract_token(user, buf, 1, '|', sizeof user); + extract_token(room, buf, 2, '|', sizeof room); + extract_token(host, buf, 3, '|', sizeof host); + extract_token(realroom, buf, 9, '|', sizeof realroom); + extract_token(realhost, buf, 10, '|', sizeof realhost); last_activity = extract_long(buf, 5); bg = 1 - bg;