diff src/smtp_in.c @ 208:3708b655a371

added newlines to the end of log and debug messages where missing
author meillo@marmaro.de
date Sun, 18 Jul 2010 21:49:15 +0200
parents 5745edd5b769
children 794071925a22
line wrap: on
line diff
--- a/src/smtp_in.c	Sun Jul 18 21:41:48 2010 +0200
+++ b/src/smtp_in.c	Sun Jul 18 21:49:15 2010 +0200
@@ -143,7 +143,7 @@
 		vsnprintf(buf, 255, fmt, args_copy);
 		va_end(args_copy);
 
-		debugf(">>>%s", buf);
+		debugf(">>>%s\n", buf);
 	}
 
 	vfprintf(out, fmt, args);
@@ -360,7 +360,7 @@
 				if (pid == 0) {
 					_exit(deliver(msg));
 				} else if (pid < 0) {
-					logwrite(LOG_ALERT, "could not fork for delivery, id = %s", msg->uid);
+					logwrite(LOG_ALERT, "could not fork for delivery, id = %s\n", msg->uid);
 				}
 			}
 			psc->rcpt_seen = psc->from_seen = FALSE;