projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added some comments
[mod_auth_kerb.git]
/
src
/
mod_auth_kerb.c
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
b18bad0
..
32a84ea
100644
(file)
--- 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);
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
#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
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);
problem = krb5_cc_gen_new(kcontext, &krb5_fcc_ops, &tmp_ccache);
#else
problem = krb5_fcc_generate_new(kcontext, &tmp_ccache);