Through oversight, the PAM_LOG_LIBDEBUG case was left out in the

version of openpam_log() that's actually used.  Internal debugging
messages therefore went to the default case and were logged as errors,
spamming /var/log/messages and the console.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@544 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2012-03-31 22:47:15 +00:00
parent e29b3b276f
commit d619fcb520
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ _openpam_log(int level, const char *func, const char *fmt, ...)
int serrno;
switch (level) {
case PAM_LOG_LIBDEBUG:
case PAM_LOG_DEBUG:
if (!openpam_debug)
return;