From: Art Cancro Date: Tue, 12 Apr 2016 23:04:08 +0000 (-0400) Subject: update the comments in cmd_dlui() to match what I put on the wiki docs X-Git-Tag: Release_902~51 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=9ce9b3bcb8c2b79e64babe02d4d5a996d616cbc3 update the comments in cmd_dlui() to match what I put on the wiki docs --- 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);