[exim-dev] [Bug 1246] headers_only option doesn't work

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Git Commit
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 1246] headers_only option doesn't work
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1246




--- Comment #5 from Git Commit <git@???> 2012-05-13 10:17:05 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/c09405265ee0956a2c41c41f3ef408d3a03fcb8b

commit c09405265ee0956a2c41c41f3ef408d3a03fcb8b
Author:     Phil Pennock <pdp@???>
AuthorDate: Sun May 13 04:18:55 2012 -0400
Commit:     Phil Pennock <pdp@???>
CommitDate: Sun May 13 04:18:55 2012 -0400


    Oops, missed .c change in bug 1246 fix git commit
---
 src/src/transport.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)


diff --git a/src/src/transport.c b/src/src/transport.c
index 0557318..1a70b6f 100644
--- a/src/src/transport.c
+++ b/src/src/transport.c
@@ -919,19 +919,19 @@ if ((options & topt_no_body) == 0)
       }
     }


- /* Finished with the check string */
-
- nl_check_length = nl_escape_length = 0;
-
/* A read error on the body will have left len == -1 and errno set. */

if (len != 0) return FALSE;
+ }

- /* If requested, add a terminating "." line (SMTP output). */
+/* Finished with the check string */

-  if ((options & topt_end_dot) != 0 && !write_chunk(fd, US".\n", 2, use_crlf))
-    return FALSE;
-  }
+nl_check_length = nl_escape_length = 0;
+
+/* If requested, add a terminating "." line (SMTP output). */
+
+if ((options & topt_end_dot) != 0 && !write_chunk(fd, US".\n", 2, use_crlf))
+  return FALSE;


/* Write out any remaining data in the buffer before returning. */



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email