From: Art Cancro Date: Fri, 16 Jan 2009 20:23:47 +0000 (+0000) Subject: * Moved some comments around X-Git-Tag: v7.86~1605 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=35c0bb4855efbc0b20aef1933c9e9411efd5205d;p=citadel.git * Moved some comments around --- diff --git a/citadel/citadel.c b/citadel/citadel.c index 85f636114..8e5c49010 100644 --- a/citadel/citadel.c +++ b/citadel/citadel.c @@ -1145,6 +1145,14 @@ void get_serv_info(CtdlIPC *ipc, char *supplied_hostname) /* Look up the , in the bible if you're confused */ (locate_host(ipc, buf), buf), buf); + /* Indicate to the server that we prefer to decode Base64 and + * quoted-printable on the client side. + */ + if ((CtdlIPCSpecifyPreferredFormats(ipc, buf, "dont_decode") / 100 ) != 2) { + scr_printf("ERROR: Extremely old server; MSG4 framework not supported.\n"); + logoff(ipc, 0); + } + /* * Tell the server what our preferred content formats are. * @@ -1152,14 +1160,7 @@ void get_serv_info(CtdlIPC *ipc, char *supplied_hostname) * it to the reader's screen width, but since our HTML-to-text parser * isn't really all that great, it's probably better to just go with * the plain text when we have it available. - * - * We also indicate to the server that we prefer to decode Base64 and - * quoted-printable on the client side. */ - if ((CtdlIPCSpecifyPreferredFormats(ipc, buf, "dont_decode") / 100 ) != 2) { - scr_printf("ERROR: Extremely old server; MSG4 framework not supported.\n"); - logoff(ipc, 0); - } if ((CtdlIPCSpecifyPreferredFormats(ipc, buf, "text/plain|text/html") / 100 ) != 2) { scr_printf("ERROR: Extremely old server; MSG4 framework not supported.\n"); logoff(ipc, 0);