* Noted where I need to make some fixes
authorArt Cancro <ajc@citadel.org>
Mon, 22 Jun 2009 16:28:18 +0000 (16:28 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 22 Jun 2009 16:28:18 +0000 (16:28 +0000)
webcit/auth.c

index 663f3d246af1e75134cdea0933a5b3514ac1be67..d3403858416b76f506e1e71a3af0cb06f5d17df4 100644 (file)
@@ -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, "\e[32mwc_roomname: %s\e[0m\n", ChrPtr(WC->wc_roomname));
+               lprintf(9, "\e[31m   ReturnTo: %s\e[0m\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
+       */
+
 }