X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fmessages.c;h=2286a04217fca82b8bac9cf887d2fbc0b3dac3b0;hb=749c2a7e25006217b60af84c3854760454f1f013;hp=0713591e736827ba7a311734b7c93262c3d09f2e;hpb=0e27e9ae1d4e7f91a4207de6e1d3fa43d2148fd9;p=citadel.git diff --git a/webcit/messages.c b/webcit/messages.c index 0713591e7..2286a0421 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -249,7 +249,7 @@ void embed_message(void) { long msgnum = 0L; const StrBuf *Tmpl = sbstr("template"); - msgnum = StrTol(WC->UrlFragment1); + msgnum = StrTol(WC->UrlFragment2); if (StrLength(Tmpl) > 0) read_message(WC->WBuf, SKEY(Tmpl), msgnum, 0, NULL); else @@ -265,7 +265,7 @@ void embed_message(void) { void print_message(void) { long msgnum = 0L; - msgnum = StrTol(WC->UrlFragment1); + msgnum = StrTol(WC->UrlFragment2); output_headers(0, 0, 0, 0, 0, 0); hprintf("Content-type: text/html\r\n" @@ -286,7 +286,7 @@ void print_message(void) { */ void mobile_message_view(void) { long msgnum = 0L; - msgnum = StrTol(WC->UrlFragment1); + msgnum = StrTol(WC->UrlFragment2); output_headers(1, 0, 0, 0, 0, 1); begin_burst(); do_template("msgcontrols", NULL); @@ -303,7 +303,7 @@ void display_headers(void) { long msgnum = 0L; char buf[1024]; - msgnum = StrTol(WC->UrlFragment1); + msgnum = StrTol(WC->UrlFragment2); output_headers(0, 0, 0, 0, 0, 0); hprintf("Content-type: text/plain\r\n"