]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.c
PAM-Auth child: log if result can't be reported
[ngircd-alex.git] / src / ngircd / conf.c
index db91a578604dd29d8b7752b0d431fb2cbff4e224..3ff5ddd896bf57ee5016f9e4b7b866217e6afb78 100644 (file)
@@ -7,13 +7,15 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * Configuration management (reading, parsing & validation)
  */
 
-
 #include "portab.h"
 
+/**
+ * @file
+ * Configuration management (reading, parsing & validation)
+ */
+
 #include "imp.h"
 #include <assert.h>
 #include <errno.h>
@@ -668,7 +670,7 @@ Read_Motd(const char *filename)
 
        fp = fopen(filename, "r");
        if (!fp) {
-               Log(LOG_WARNING, "Can't read MOTD file \"%s\": %s",
+               Config_Error(LOG_WARNING, "Can't read MOTD file \"%s\": %s",
                                        filename, strerror(errno));
                return;
        }