X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fimage%2Fserv_image.c;fp=citadel%2Fmodules%2Fimage%2Fserv_image.c;h=3f327324f1fedb876306c677e3075c68e6434170;hp=dc7c0b14e6c8e8a9c7d7bcc056b249d29c808c04;hb=9ce9b3bcb8c2b79e64babe02d4d5a996d616cbc3;hpb=44da3349f03e6c6f33024e6f532f624dad700403 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);