projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44da334
)
update the comments in cmd_dlui() to match what I put on the wiki docs
author
Art Cancro
<ajc@citadel.org>
Tue, 12 Apr 2016 23:04:08 +0000
(19:04 -0400)
committer
Art Cancro
<ajc@citadel.org>
Tue, 12 Apr 2016 23:04:08 +0000
(19:04 -0400)
citadel/modules/image/serv_image.c
patch
|
blob
|
history
diff --git
a/citadel/modules/image/serv_image.c
b/citadel/modules/image/serv_image.c
index dc7c0b14e6c8e8a9c7d7bcc056b249d29c808c04..3f327324f1fedb876306c677e3075c68e6434170 100644
(file)
--- 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) {
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);
safestrncpy(CC->download_desired_section, "1", sizeof CC->download_desired_section);
CtdlOutputPreLoadedMsg(msg, MT_SPEW_SECTION, HEADERS_NONE, 1, 0, 0);
CM_Free(msg);