if (StrLength(username) > 0) {
Buf = NewStrBufPlain(NULL, StrLength(username));
- StrEscAppend(Buf, claimed_id, NULL, 0, 0);
+ StrEscAppend(Buf, username, NULL, 0, 0);
svprintf(HKEY("REASON"), WCS_STRING,
_("However, the user name '%s' conflicts with an existing user."),
ChrPtr(Buf));
}
else {
StrBuf *ReturnTo;
- ReturnTo = NewStrBufPlain(NULL, -1);
- StrBufUrlescAppend(ReturnTo, NULL, "display_main_menu?gotofirst=");
- StrBufUrlescAppend(ReturnTo, WC->wc_roomname, NULL);
- lprintf(9, "\e[32mwc_roomname: %s\e[0m\n", ChrPtr(WC->wc_roomname));
- lprintf(9, "\e[31m ReturnTo: %s\e[0m\n", ChrPtr(ReturnTo));
+ ReturnTo = NewStrBufPlain(HKEY("display_main_menu?gotofirst="));
+ StrBufAppendBuf(ReturnTo, WC->wc_roomname, 0);
do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, ChrPtr(ReturnTo), USERCONFIGROOM);
FreeStrBuf(&ReturnTo);
}
- /*
- FIXME
- 1. don't we have to free VCMsg and VCAtt ??
- 2. Fix bug 268
- */
-
+ /* FIXME - don't we have to free VCMsg and VCAtt ?? */
}