You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2012/12/02 08:19:22 UTC

svn commit: r1416121 - /httpd/httpd/trunk/support/rotatelogs.c

Author: jailletc36
Date: Sun Dec  2 07:19:22 2012
New Revision: 1416121

URL: http://svn.apache.org/viewvc?rev=1416121&view=rev
Log:
error[120] is already defined in this function. Just use it instead of shadowing.

Modified:
    httpd/httpd/trunk/support/rotatelogs.c

Modified: httpd/httpd/trunk/support/rotatelogs.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/rotatelogs.c?rev=1416121&r1=1416120&r2=1416121&view=diff
==============================================================================
--- httpd/httpd/trunk/support/rotatelogs.c (original)
+++ httpd/httpd/trunk/support/rotatelogs.c Sun Dec  2 07:19:22 2012
@@ -268,7 +268,6 @@ static void post_rotate(apr_pool_t *pool
         }
         rv = apr_file_link(newlog->name, config->linkfile);
         if (rv != APR_SUCCESS) {
-            char error[120];
             apr_strerror(rv, error, sizeof error);
             fprintf(stderr, "Error linking file %s to %s (%s)\n",
                     newlog->name, config->linkfile, error);