From 9ce9b3bcb8c2b79e64babe02d4d5a996d616cbc3 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 12 Apr 2016 19:04:08 -0400 Subject: [PATCH] update the comments in cmd_dlui() to match what I put on the wiki docs --- citadel/modules/image/serv_image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/citadel/modules/image/serv_image.c b/citadel/modules/image/serv_image.c index dc7c0b14e..3f327324f 100644 --- a/citadel/modules/image/serv_image.c +++ b/citadel/modules/image/serv_image.c @@ -42,7 +42,9 @@ void cmd_dlui(char *cmdbuf) struct CtdlMessage *msg = CtdlFetchMessage(ruser.msgnum_pic, 1, 1); if (msg != NULL) { - // 600 402132|-1||image/gif| FIXME update the protocol doc on the web site + // The call to CtdlOutputPreLoadedMsg() with MT_SPEW_SECTION will cause the DLUI command + // to have the same output format as the DLAT command, because it calls the same code. + // For example: 600 402132|-1||image/gif| safestrncpy(CC->download_desired_section, "1", sizeof CC->download_desired_section); CtdlOutputPreLoadedMsg(msg, MT_SPEW_SECTION, HEADERS_NONE, 1, 0, 0); CM_Free(msg); -- 2.30.2