From: Art Cancro Date: Mon, 22 Jun 2009 16:28:18 +0000 (+0000) Subject: * Noted where I need to make some fixes X-Git-Tag: v7.86~1020 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=ab84df2cbdd922af1811185fe17370a19b070ae8 * Noted where I need to make some fixes --- diff --git a/webcit/auth.c b/webcit/auth.c index 663f3d246..d34038584 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -775,10 +775,22 @@ void display_reg(int during_login) do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, "do_welcome", USERCONFIGROOM); } else { + StrBuf *ReturnTo; + ReturnTo = NewStrBufPlain("display_main_menu?gotofirst=", 256); + //StrBufUrlescAppend(ReturnTo, WC->wc_roomname, NULL); + StrEscAppend(ReturnTo, WC->wc_roomname, NULL, 0, 0); + lprintf(9, "wc_roomname: %s\n", ChrPtr(WC->wc_roomname)); + lprintf(9, " ReturnTo: %s\n", ChrPtr(ReturnTo)); + FreeStrBuf(&ReturnTo); do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, "display_main_menu", USERCONFIGROOM); } - /* FIXME don't we have to free VCMsg and VCAtt ?? */ + /* + FIXME + 1. don't we have to free VCMsg and VCAtt ?? + 2. Fix bug 268 + */ + }