httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChristophDorn <>
Subject Re: Analyze mod_rewrite log in browser
Date Sat, 19 Apr 2008 21:30:12 GMT

Found the problem with printing the logline to the header. It had a newline
at the end (APR_EOL_STR).

ChristophDorn wrote:
> I am having a problem with the call to apr_pstrcat though. When I call:
> p = apr_pstrcat(r->pool, "[\"LOG\",\"",  logline, "\"],", NULL);
> the resulting string only contains the data up until the end of the
> "logline" and not the "\"],". Any reason why the last part is not being
> appended? I am very new to C programming so please pardon my ignorance.

View this message in context:
Sent from the Apache HTTP Server - Dev mailing list archive at

View raw message