Corrected some debug info.
--- a/config.c Mon May 15 17:44:29 2006 +0200
+++ b/config.c Mon May 15 17:46:02 2006 +0200
@@ -74,7 +74,7 @@
file = open(fname, O_RDONLY);
if (file == -1)
{
- fprintf(stderr,"The config file cannot be opened");
+ fprintf(stderr,"The config file cannot be opened.\n");
return;
}
@@ -118,7 +118,7 @@
if (res == -1)
{
- fprintf(stderr, "Error reading config file: %s",
+ fprintf(stderr, "Error reading config file: %s\n",
strerror(errno));
}
--- a/syslog_kernel.c Mon May 15 17:44:29 2006 +0200
+++ b/syslog_kernel.c Mon May 15 17:46:02 2006 +0200
@@ -330,6 +330,9 @@
kernel_loop();
+ if (reconfig == true)
+ fprintf(stderr, "reconfiguring...\n");
+
term_childs();
close_out_udp();