From 6d6b41eac55ecdc3b3797021cfc73dc7f12504a9 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 1 Feb 2005 23:11:47 +0000 Subject: [PATCH] * new ENT0 syntax now also outputs EUID --- citadel/ChangeLog | 4 +++- citadel/msgbase.c | 5 +++++ citadel/techdoc/protocol.txt | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 057e893c9..166d045f2 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 630.11 2005/02/01 23:11:46 ajc + * new ENT0 syntax now also outputs EUID + Revision 630.10 2005/02/01 19:46:12 ajc * Added an SMTP-like calling syntax to ENT0 to allow a confirmation message to be sent back to the client after a message is transmitted. @@ -6339,4 +6342,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/msgbase.c b/citadel/msgbase.c index 97ef54ddd..1dfcb6677 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -2811,6 +2811,11 @@ void cmd_ent0(char *entargs) else { cprintf("Internal error.\n"); } + if (msg->cm_fields['E'] != NULL) { + cprintf("%s\n", msg->cm_fields['E']); + } else { + cprintf("\n"); + } cprintf("000\n"); } diff --git a/citadel/techdoc/protocol.txt b/citadel/techdoc/protocol.txt index 6758ee71d..18b727299 100644 --- a/citadel/techdoc/protocol.txt +++ b/citadel/techdoc/protocol.txt @@ -823,8 +823,9 @@ Line 1: The new message number on the server for the message. It will be that an error occurred. If an error occurred, the message was not saved. Line 2: A human-readable confirmation or error message. +Line 3: The resulting Exclusive UID of the message, if present. (More may be added to this in the future, so do not assume that there will -only be two lines output. Keep reading until 000 is received.) +only be these lines output. Keep reading until 000 is received.) RINF (read Room INFormation file) -- 2.39.2