* new ENT0 syntax now also outputs EUID
authorArt Cancro <ajc@citadel.org>
Tue, 1 Feb 2005 23:11:47 +0000 (23:11 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 1 Feb 2005 23:11:47 +0000 (23:11 +0000)
citadel/ChangeLog
citadel/msgbase.c
citadel/techdoc/protocol.txt

index 057e893c9844312f6b8bf5e9e9c272d403388a0b..166d045f26878f7b99ee70c4248ab193eb90c6b6 100644 (file)
@@ -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 <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index 97ef54ddd860df01756dbef243de8c5cbdbe3720..1dfcb6677a2998195b2622aa8c8ec2b096352f71 100644 (file)
@@ -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");
                }
 
index 6758ee71d08fbb3f7d9c604e81be6e9ae00a227a..18b72729948e4e80d8e0f418295f43eff4c51dc6 100644 (file)
@@ -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)