masqmail

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 diff
     1.1 --- a/src/masqmail.c	Sun Jul 18 21:41:48 2010 +0200
     1.2 +++ b/src/masqmail.c	Sun Jul 18 21:49:15 2010 +0200
     1.3 @@ -153,7 +153,7 @@
     1.4  		if ((pid = fork()) > 0) {
     1.5  			exit(EXIT_SUCCESS);
     1.6  		} else if (pid < 0) {
     1.7 -			logwrite(LOG_ALERT, "could not fork!");
     1.8 +			logwrite(LOG_ALERT, "could not fork!\n");
     1.9  			exit(EXIT_FAILURE);
    1.10  		}
    1.11  	}
    1.12 @@ -173,7 +173,7 @@
    1.13  	fclose(stderr);
    1.14  	logopen();
    1.15  
    1.16 -	logwrite(LOG_NOTICE, "%s %s daemon starting", PACKAGE, VERSION);
    1.17 +	logwrite(LOG_NOTICE, "%s %s daemon starting\n", PACKAGE, VERSION);
    1.18  	listen_port(do_listen ? conf.listen_addresses : NULL, queue_interval, argv);
    1.19  }
    1.20  
    1.21 @@ -256,7 +256,7 @@
    1.22  					} else
    1.23  						exit(EXIT_FAILURE);
    1.24  				} else if (pid < 0) {
    1.25 -					logwrite(LOG_ALERT, "could not fork for delivery, id = %s", msg->uid);
    1.26 +					logwrite(LOG_ALERT, "could not fork for delivery, id = %s\n", msg->uid);
    1.27  				}
    1.28  			}
    1.29  		} else {