Debian Codegraph @

debian/patches/0001-Add-support-for-Apache-2.4-log-API.patch

raw symbols SCIP
1 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <[email protected]>
2 Date: Fri, 6 Apr 2012 13:23:15 +0200
3 Subject: Add support for Apache 2.4 log API
4
5 ---
6 mod_upload_progress.c | 6 +++++-
7 1 file changed, 5 insertions(+), 1 deletion(-)
8
9 --- a/mod_upload_progress.c
10 +++ b/mod_upload_progress.c
11 @@ -64,8 +64,12 @@
12 # define ARG_MAXLEN_JSONPCALLBACK 64
13 #endif
14
15 +#ifdef APLOG_USE_MODULE
16 +APLOG_USE_MODULE(upload_progress);
17 +#endif
18 +
19 #if UP_DEBUG > 0
20 -# if UP_DEBUG > 1
21 +# if !defined(APLOG_USE_MODULE) && UP_DEBUG > 1
22 # define up_log(m,s,err,srv,fmtstr,...) ap_log_error( m, s, err, srv, "pid:%" APR_PID_T_FMT " " fmtstr, getpid(), ##__VA_ARGS__ )
23 # else
24 # define up_log(...) ap_log_error( __VA_ARGS__ )