httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r1610339 - in /httpd/httpd/trunk: docs/manual/mod/mod_journald.xml modules/loggers/config.m4 modules/loggers/mod_journald.c
Date Mon, 14 Jul 2014 07:52:19 GMT


jkaluza@apache.org wrote:
> Author: jkaluza
> Date: Mon Jul 14 05:52:45 2014
> New Revision: 1610339
> 
> URL: http://svn.apache.org/r1610339
> Log:
> mod_journald: New module implementing error_log provider for systemd-journald.
> 
> Added:
>     httpd/httpd/trunk/docs/manual/mod/mod_journald.xml   (with props)
>     httpd/httpd/trunk/modules/loggers/mod_journald.c
> Modified:
>     httpd/httpd/trunk/modules/loggers/config.m4
> 

> Added: httpd/httpd/trunk/modules/loggers/mod_journald.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_journald.c?rev=1610339&view=auto
> ==============================================================================
> --- httpd/httpd/trunk/modules/loggers/mod_journald.c (added)
> +++ httpd/httpd/trunk/modules/loggers/mod_journald.c Mon Jul 14 05:52:45 2014

> +static apr_status_t journald_log_writer(request_rec *r,
> +                           void *handle,
> +                           const char **strs,
> +                           int *strl,
> +                           int nelts,
> +                           apr_size_t len)
> +
> +{
> +    char *str;
> +    char *s;
> +    int i;
> +    apr_status_t rv = APR_SUCCESS;
> +
> +    str = apr_palloc(r->pool, len + 1);

Why +1?

Regards

RĂ¼diger


Mime
View raw message