diff src/masqmail.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 4fd237550525
children 3c40f86d50e4
line wrap: on
line diff
--- a/src/masqmail.c	Sun Jul 18 21:41:48 2010 +0200
+++ b/src/masqmail.c	Sun Jul 18 21:49:15 2010 +0200
@@ -153,7 +153,7 @@
 		if ((pid = fork()) > 0) {
 			exit(EXIT_SUCCESS);
 		} else if (pid < 0) {
-			logwrite(LOG_ALERT, "could not fork!");
+			logwrite(LOG_ALERT, "could not fork!\n");
 			exit(EXIT_FAILURE);
 		}
 	}
@@ -173,7 +173,7 @@
 	fclose(stderr);
 	logopen();
 
-	logwrite(LOG_NOTICE, "%s %s daemon starting", PACKAGE, VERSION);
+	logwrite(LOG_NOTICE, "%s %s daemon starting\n", PACKAGE, VERSION);
 	listen_port(do_listen ? conf.listen_addresses : NULL, queue_interval, argv);
 }
 
@@ -256,7 +256,7 @@
 					} else
 						exit(EXIT_FAILURE);
 				} 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);
 				}
 			}
 		} else {