From 67babb864ea7cf1455a2deb1f5b9643c3a1155fb Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 1 Mar 2003 20:45:16 +0000 Subject: [PATCH] * Fix missing protocol header when outputing messages in "body only" mode --- citadel/citadel.h | 4 ++-- citadel/msgbase.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/citadel/citadel.h b/citadel/citadel.h index 5abb38919..d883258fa 100644 --- a/citadel/citadel.h +++ b/citadel/citadel.h @@ -32,7 +32,7 @@ extern "C" { /* * Text description of this software */ -#define CITADEL "Citadel/UX 6.05" +#define CITADEL "Citadel/UX 6.06" /* * REV_LEVEL is the current version number (multiplied by 100 to avoid having @@ -41,7 +41,7 @@ extern "C" { * are older than REV_MIN, none of the programs will work until the setup * program is run again to bring things up to date. */ -#define REV_LEVEL 605 /* This version */ +#define REV_LEVEL 606 /* This version */ #define REV_MIN 591 /* Oldest compatible version */ #define SERVER_TYPE 0 /* zero for stock Citadel/UX; other developers please diff --git a/citadel/msgbase.c b/citadel/msgbase.c index aaf901b3c..6d6f8313e 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -1144,12 +1144,12 @@ int CtdlOutputPreLoadedMsg(struct CtdlMessage *TheMessage, return((CC->download_fp != NULL) ? om_ok : om_mime_error); } - /* Does the caller want to skip the headers? */ - if (headers_only == HEADERS_NONE) goto START_TEXT; - /* now for the user-mode message reading loops */ if (do_proto) cprintf("%d Message %ld:\n", LISTING_FOLLOWS, msg_num); + /* Does the caller want to skip the headers? */ + if (headers_only == HEADERS_NONE) goto START_TEXT; + /* Tell the client which format type we're using. */ if ( (mode == MT_CITADEL) && (do_proto) ) { cprintf("type=%d\n", TheMessage->cm_format_type); -- 2.39.2