From: Art Cancro Date: Tue, 23 Jun 2009 15:07:27 +0000 (+0000) Subject: * return_to logic in do_edit_vcard() and submit_vcard() is now working peoperly.... X-Git-Tag: v7.86~1010 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=c7a3e6ba850edaf0af0c7ac69803aa8a10955030 * return_to logic in do_edit_vcard() and submit_vcard() is now working peoperly. Fixes bug 268. --- diff --git a/webcit/auth.c b/webcit/auth.c index 1ac3921c4..2c5c1d04a 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -778,18 +778,11 @@ void display_reg(int during_login) StrBuf *ReturnTo; ReturnTo = NewStrBufPlain(HKEY("display_main_menu?gotofirst=")); StrBufAppendBuf(ReturnTo, WC->wc_roomname, 0); - lprintf(9, "wc_roomname: %s\n", ChrPtr(WC->wc_roomname)); - lprintf(9, " ReturnTo: %s\n", ChrPtr(ReturnTo)); 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 ?? */ } diff --git a/webcit/vcard_edit.c b/webcit/vcard_edit.c index 4b3940fb2..b690e01cc 100644 --- a/webcit/vcard_edit.c +++ b/webcit/vcard_edit.c @@ -1026,7 +1026,7 @@ void do_edit_vcard(long msgnum, char *partnum, wprintf("\">\n"); wprintf("\n"); wprintf("
\n"