X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=18f60e269e1184ce8c98c56f57e2adfc722bcd88;hb=a6e8e46a540623cce6fc6c5d478f96671dd1ba01;hp=bc72b709802cb6429a40d3cfd5e1f87126afecf7;hpb=48febd8a6bd48a2e341949ac1c7346b1ab0d184d;p=citadel.git diff --git a/webcit/auth.c b/webcit/auth.c index bc72b7098..18f60e269 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -776,8 +776,7 @@ void display_reg(int during_login) } else { StrBuf *ReturnTo; - ReturnTo = NewStrBufPlain(NULL, -1); - StrBufUrlescAppend(ReturnTo, NULL, "display_main_menu?gotofirst="); + ReturnTo = NewStrBufPlain(HKEY("display_main_menu?gotofirst=")); StrBufUrlescAppend(ReturnTo, WC->wc_roomname, NULL); lprintf(9, "wc_roomname: %s\n", ChrPtr(WC->wc_roomname)); lprintf(9, " ReturnTo: %s\n", ChrPtr(ReturnTo));