]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commit5079dca06a41aa49d2bf3f9be661743ba5b51670
tree7a42dbfb10673c402fa912d033e3b42282db3156
parent202436c2545f5d08360919e829924823106a6955
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