diff -u ssmtp-original/ssmtp.c ssmtp-2.62/ssmtp.c
--- ssmtp.c	2009-11-29 13:47:29.000000000 -0500
+++ ssmtp.c	2009-11-29 13:51:18.000000000 -0500
@@ -1649,12 +1649,12 @@
 			outbytes += smtp_write(sock, "%s", leadingdot ? b : buf);
 		} else {
 			if (log_level > 0) {
-				log_event(LOG_INFO, "Sent a very long line in chunks");
+				log_event(LOG_INFO, "Sending a partial line");
 			}
 			if (leadingdot) {
-				outbytes += fd_puts(sock, b, sizeof(b));
+				outbytes += fd_puts(sock, b, strlen(b));
 			} else {
-				outbytes += fd_puts(sock, buf, bufsize);
+				outbytes += fd_puts(sock, buf, strlen(buf));
 			}
 		}
 		(void)alarm((unsigned) MEDWAIT);
