Use krb5_log

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3311 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-31 17:45:32 +00:00
parent d4f46d9de4
commit 712f9cb1c6
2 changed files with 5 additions and 0 deletions

View File

@@ -24,7 +24,11 @@ pop_log(POP *p, int stat, char *format, ...)
fprintf(p->trace,"%s\n",msgbuf);
fflush(p->trace);
} else {
#ifdef KERBEROS
krb5_log(p->context, p->logf, stat, "%s", msgbuf);
#else
syslog (stat,"%s",msgbuf);
#endif
}
va_end(ap);