From: kouril Date: Fri, 24 Oct 2003 11:36:36 +0000 (+0000) Subject: Added some comments X-Git-Tag: v5.0-rc3~25 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.git;a=commitdiff_plain;h=78f67298a35cf5e8a8c3d73f8d11ff826901b16d Added some comments --- diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index b18bad0..32a84ea 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -244,7 +244,11 @@ void log_rerror(const char *file, int line, int level, int status, va_start(ap, fmt); vsnprintf(errstr, sizeof(errstr), fmt, ap); va_end(ap); - + + /* these functions also print out current errno (if not zero), resulting in + * lines of the format: + * (errno)strerror(errno): errstr + * This behaviour can be avoided by using APLOG_NOERRNO */ #ifdef APXS1 ap_log_rerror(file, line, level, r, "%s", errstr); #else @@ -508,6 +512,7 @@ create_krb5_ccache(krb5_context kcontext, krb5_ccache tmp_ccache = NULL; #ifdef HEIMDAL + /* new MIT krb5-1.3.x also supports this call */ problem = krb5_cc_gen_new(kcontext, &krb5_fcc_ops, &tmp_ccache); #else problem = krb5_fcc_generate_new(kcontext, &tmp_ccache);