24710315 mod_auth_gss.so logging broken by APLOG_MARK changes in Apache 2.4
authorTomas Kuthan <tomas.kuthan@oracle.com>
Thu, 29 Sep 2016 04:21:34 -0700
changeset 6994 897fc173b916
parent 6993 8a64c5c85f4a
child 6995 e83d1e7c501b
24710315 mod_auth_gss.so logging broken by APLOG_MARK changes in Apache 2.4
components/apache24/mod_auth_gss/mod_auth_gss.c
--- a/components/apache24/mod_auth_gss/mod_auth_gss.c	Thu Sep 29 04:21:34 2016 -0700
+++ b/components/apache24/mod_auth_gss/mod_auth_gss.c	Thu Sep 29 04:21:34 2016 -0700
@@ -139,18 +139,7 @@
 	return rec;
 }
 
-void log_rerror(const char *file, int line, int level, int status,
-                const request_rec *r, const char *fmt, ...)
-{
-	char errstr[1024];
-	va_list ap;
-
-	va_start(ap, fmt);
-	vsnprintf(errstr, sizeof(errstr), fmt, ap);
-	va_end(ap);
-
-	ap_log_rerror(file, line, level | APLOG_NOERRNO, NULL, r, "%s", errstr);
-}
+#define log_rerror ap_log_rerror
 
 /*********************************************************************
  * GSSAPI Authentication