summaryrefslogtreecommitdiffstats
path: root/support/rotatelogs.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2006-12-11 20:08:40 +0100
committerJeff Trawick <trawick@apache.org>2006-12-11 20:08:40 +0100
commit8c6dad6c417893afa796a8c9a84777ea8c6e0a39 (patch)
treec4e1ea197a608f5ad363ea56398a37ec2b580dc7 /support/rotatelogs.c
parentStop mod_dbd emitting bogus error messages when it's loaded (diff)
downloadapache2-8c6dad6c417893afa796a8c9a84777ea8c6e0a39.tar.xz
apache2-8c6dad6c417893afa796a8c9a84777ea8c6e0a39.zip
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
Diffstat (limited to 'support/rotatelogs.c')
-rw-r--r--support/rotatelogs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/rotatelogs.c b/support/rotatelogs.c
index bfc8e11940..c6f9904938 100644
--- a/support/rotatelogs.c
+++ b/support/rotatelogs.c
@@ -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);