common: Typo.
authorMoritz Schulte <mo@g10code.com>
Fri, 31 Mar 2006 17:43:13 +0000 (17:43 +0000)
committerMoritz Schulte <mo@g10code.com>
Fri, 31 Mar 2006 17:43:13 +0000 (17:43 +0000)
commite5eea4a2358923bd04647ce8a8b9720cd138c5e9
tree00bf25a9882ba01489b4ae81508882ed06e98f0e
parent98eff049717038af77984e3bda4f2eb3f74f3ec2
common: Typo.

jnlib/ChangeLog:

2006-03-31  Moritz Schulte  <moritz@g10code.com>

* logging.c: New static variable: prefix_length.
(set_syslog): Removed parameters IDENT, FACILITY; do not call
openlog().
(log_set_syslog): Removed parameters IDENT, FACILITY.
(log_close): Do not call closelog.
(log_set_prefix): Initialize prefix_length.
(log_to_syslog_va, log_to_syslog): New functions.
(do_logv): Replaced calls to syslog/vsyslog with calls to
log_to_syslog/log_to_syslog_va; removed calls to closelog.

* logging.h (set_syslog): Adjust declaration.

pam/ChangeLog:

2006-03-31  Moritz Schulte  <moritz@g10code.com>

* pam_poldi.c (pam_sm_authenticate): Adjust call to log_set_syslog
to new API; call log_set_prefix() to register a logging prefix;
use log_close() instead of closelog().
src/common/usersdb.c
src/jnlib/ChangeLog
src/jnlib/logging.c
src/jnlib/logging.h
src/pam/ChangeLog
src/pam/pam_poldi.c