]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.4-20060824
authorWietse Venema <wietse@porcupine.org>
Thu, 24 Aug 2006 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:32:34 +0000 (06:32 +0000)
postfix/HISTORY
postfix/html/smtp-sink.1.html
postfix/man/man1/smtp-sink.1
postfix/src/global/mail_version.h
postfix/src/smtpstone/smtp-sink.c

index 100cb1ec3e8b236b00911e1cc81dfda582d1f542..40cc32c2941fdbc94a8345096affa155bab1e688 100644 (file)
@@ -12703,6 +12703,11 @@ Apologies for any names omitted.
        implementation of the capture to file feature. File:
        smtpstone/smtp-sink.c.
 
+20050824
+
+       Portability: inside functions, GCC 4 refuses forward
+       declarations of static functions.  File: smtpstone/smtp-sink.c.
+
 Wish list:
 
        Make null local-part handling configurable: either expand
index 1880535a918e3b3da2e7ec7b7ee509f396f0b92c..04e44eac49d5f994bc17f8d26767ef810db2b438 100644 (file)
@@ -212,17 +212,15 @@ SMTP-SINK(1)                                                      SMTP-SINK(1)
               HELO or EHLO command before the DATA command.
 
        <b>X-Mail-Args:</b> <i>text</i>
-              The  arguments,  if  any,  of the MAIL command that
-              started this mail delivery transaction. This record
-              is  present  only if the client sent a recognizable
-              MAIL command.
+              The arguments of the MAIL command that started this
+              mail delivery transaction. This record  is  present
+              exactly once.
 
        <b>X-Rcpt-Args:</b> <i>text</i>
-              The arguments, if any, of each successive RCPT com-
-              mand  within  this mail delivery transaction. There
-              may be zero or more of these records.  This  record
-              is  present  only if the client sent a recognizable
-              RCPT command.
+              The  arguments  of an RCPT command within this mail
+              delivery transaction. There is one record for  each
+              RCPT  command, and they are in the order as sent by
+              the client.
 
        <b>Received:</b> <i>text</i>
               A message header for compatibility with  mail  pro-
index dff7310b2ddd08f1f0296b89d171ed310bf640dd..a1fc05a2d2d69fdd5995905d1d6be554ad3e0dfb 100644 (file)
@@ -181,19 +181,16 @@ mail delivery transaction. This record is present only if
 the client sent a recognizable HELO or EHLO command before
 the DATA command.
 .IP "\fBX-Mail-Args: \fItext\fR"
-The arguments, if any, of the MAIL command that started
-this mail delivery transaction. This record is present only
-if the client sent a recognizable MAIL command.
+The arguments of the MAIL command that started this mail
+delivery transaction. This record is present exactly once.
 .IP "\fBX-Rcpt-Args: \fItext\fR"
-The arguments, if any, of each successive RCPT command
-within this mail delivery transaction. There may be zero
-or more of these records. This record is present only if
-the client sent a recognizable RCPT command.
+The arguments of an RCPT command within this mail delivery
+transaction. There is one record for each RCPT command, and
+they are in the order as sent by the client.
 .IP "\fBReceived: \fItext\fR"
 A message header for compatibility with mail processing
 software. This three-line header marks the end of the headers
-provided by \fBsmtp-sink\fR, and is formatted
-as follows:
+provided by \fBsmtp-sink\fR, and is formatted as follows:
 .RS
 .IP "\fBfrom \fIhelo\fB ([\fIaddr\fB])\fR"
 The HELO or EHLO command argument and client IP address.
index 49391792244f9d1abe6c47305a3138bd7edcdc16..3c334f4f567353855fe60af86a70aa18d58f4fa2 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20060823"
+#define MAIL_RELEASE_DATE      "20060824"
 #define MAIL_VERSION_NUMBER    "2.4"
 
 #ifdef SNAPSHOT
index dc151c882f78fb4bbd34d5fa3e2e6d4c84e08df1..faa7861f858e9bb916d1cc5b440278426a035758 100644 (file)
 /*     the client sent a recognizable HELO or EHLO command before
 /*     the DATA command.
 /* .IP "\fBX-Mail-Args: \fItext\fR"
-/*     The arguments, if any, of the MAIL command that started
-/*     this mail delivery transaction. This record is present only
-/*     if the client sent a recognizable MAIL command.
+/*     The arguments of the MAIL command that started this mail
+/*     delivery transaction. This record is present exactly once.
 /* .IP "\fBX-Rcpt-Args: \fItext\fR"
-/*     The arguments, if any, of each successive RCPT command
-/*     within this mail delivery transaction. There may be zero
-/*     or more of these records. This record is present only if
-/*     the client sent a recognizable RCPT command.
+/*     The arguments of an RCPT command within this mail delivery
+/*     transaction. There is one record for each RCPT command, and
+/*     they are in the order as sent by the client.
 /* .IP "\fBReceived: \fItext\fR"
 /*     A message header for compatibility with mail processing
 /*     software. This three-line header marks the end of the headers
-/*     provided by \fBsmtp-sink\fR, and is formatted
-/*     as follows:
+/*     provided by \fBsmtp-sink\fR, and is formatted as follows:
 /* .RS
 /* .IP "\fBfrom \fIhelo\fB ([\fIaddr\fB])\fR"
 /*     The HELO or EHLO command argument and client IP address.
@@ -1087,12 +1084,12 @@ static void read_event(int unused_event, char *context)
     event_request_timer(read_timeout, (char *) state, var_tmout);
 }
 
+static void connect_event(int, char *);
+
 /* disconnect - handle disconnection events */
 
 static void disconnect(SINK_STATE *state)
 {
-    static void connect_event(int, char *);
-
     event_disable_readwrite(vstream_fileno(state->stream));
     event_cancel_timer(read_timeout, (char *) state);
     if (count) {