]> granicus.if.org Git - apache/commit
rotatelogs: Remove another use of a consant length buffer for errors.
authorBen Reser <breser@apache.org>
Wed, 23 Oct 2013 03:12:46 +0000 (03:12 +0000)
committerBen Reser <breser@apache.org>
Wed, 23 Oct 2013 03:12:46 +0000 (03:12 +0000)
commit1eb6352e2a11c297d78d07c1d4b28d8e0bc05bd1
tree7a42dbfb10673c402fa912d033e3b42282db3156
parente2e2cd9b258774d8490cf1c197c82ae1aff97f54
rotatelogs: Remove another use of a consant length buffer for errors.

* support/rotatelogs.c
  (doRotate): Use apr_psprintf() and %pm.  Move the destruction of the pool
    after we're done with the error message so the error string stays allocated
    long enough.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534896 13f79535-47bb-0310-9956-ffa450edef68
support/rotatelogs.c