changeset 53641:e33121530d13

Jesper Harder <harder@ifa.au.dk> (smtpmail-via-smtp): No need to add two bytes following previous change to smtpmail-send-data.
author Glenn Morris <rgm@gnu.org>
date Tue, 20 Jan 2004 22:17:32 +0000
parents 5252ab84cd01
children 4464cbe0f701
files lisp/mail/smtpmail.el
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/smtpmail.el	Tue Jan 20 22:16:49 2004 +0000
+++ b/lisp/mail/smtpmail.el	Tue Jan 20 22:17:32 2004 +0000
@@ -680,13 +680,8 @@
 				 ;; size estimate:
 				 (+ (- (point-max) (point-min))
 				    ;; Add one byte for each change-of-line
-				    ;; because or CR-LF representation:
-				    (count-lines (point-min) (point-max))
-				    ;; For some reason, an empty line is
-				    ;; added to the message.  Maybe this
-				    ;; is a bug, but it can't hurt to add
-				    ;; those two bytes anyway:
-				    2)))
+				    ;; because of CR-LF representation:
+				    (count-lines (point-min) (point-max)))))
 		     ""))
 		  (body-part
 		   (if (member '8bitmime supported-extensions)