-/*
- * $Id$
- */
#include "webcit.h"
serv_puts("RWHO");
StrBuf_ServGetln(Buf);
if (GetServerStatus(Buf, NULL) == 1) {
- while (BufLen = StrBuf_ServGetln(Buf), strcmp(ChrPtr(Buf), "000")) {
+ while (BufLen = StrBuf_ServGetln(Buf),
+ ((BufLen >= 0) &&
+ ((BufLen != 3) || strcmp(ChrPtr(Buf), "000"))))
+ {
if (BufLen <= 0)
continue;
Pos = NULL;
"To turn off any 'fake' name you've previously "
"set, simply click the appropriate 'change' button "
"without typing anything in the corresponding box. "));
- wc_printf("<br />\n");
+ wc_printf("<br>\n");
wc_printf("<form method=\"POST\" action=\"edit_me\">\n");
wc_printf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);