X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.c;fp=webcit%2Fwebcit.c;h=dd0043d29dd0794af9f2cb43d80e5fe760413dcb;hb=082dc69ddc2d7febf4bd004eda95de8e0fe15e63;hp=89de551eb0e7058c7e751daec7398708eaa38b50;hpb=3583542c65ec8fa58520a90724f1b5ecd004c83a;p=citadel.git diff --git a/webcit/webcit.c b/webcit/webcit.c index 89de551eb..dd0043d29 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -831,9 +831,7 @@ void display_default_landing_page(void) { if (havebstr("go")) { syslog(LOG_DEBUG, "Explicit room selection: %s", bstr("go")); - StrBuf *teh_room = NewStrBufPlain(bstr("go"), strlen(bstr("go"))); - smart_goto(teh_room); - FreeStrBuf(&teh_room); + smart_goto(sbstr("go")); } else if (default_landing_page) { http_redirect(default_landing_page);