Commit 101c2d46 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

increase size of error string buffer passed to apr_strerror();

120 is the size most frequently used in Apache; APR provides no
hints


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@485828 13f79535-47bb-0310-9956-ffa450edef68
parent 373be91b
Loading
Loading
Loading
Loading
+1 −1
Changes for support/rotatelogs.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ int main (int argc, const char * const argv[])
            rv = apr_file_open(&nLogFD, buf2, APR_WRITE | APR_CREATE | APR_APPEND,
                               APR_OS_DEFAULT, pool);
            if (rv != APR_SUCCESS) {
                char error[26];
                char error[120];

                apr_strerror(rv, error, sizeof error);