]> git.eshelyaron.com Git - emacs.git/commitdiff
Jesper Harder <harder@ifa.au.dk>
authorGlenn Morris <rgm@gnu.org>
Tue, 20 Jan 2004 22:17:32 +0000 (22:17 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 20 Jan 2004 22:17:32 +0000 (22:17 +0000)
(smtpmail-via-smtp): No need to add two bytes following previous
change to smtpmail-send-data.

lisp/mail/smtpmail.el

index 39886ad343d418a611e89a43bb9c3effdefae243..bd9d5d7dd39a94ecac80f8f81bce2d7f5a0233a4 100644 (file)
@@ -680,13 +680,8 @@ This is relative to `smtpmail-queue-dir'.")
                                 ;; 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)