httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1761281 - /httpd/httpd/trunk/modules/filters/mod_crypto.c
Date Sat, 17 Sep 2016 21:28:13 GMT
Author: ylavic
Date: Sat Sep 17 21:28:12 2016
New Revision: 1761281

URL: http://svn.apache.org/viewvc?rev=1761281&view=rev
Log:
mod_crypto: c89.

Reported by: Norm <normw gknw.net>

Modified:
    httpd/httpd/trunk/modules/filters/mod_crypto.c

Modified: httpd/httpd/trunk/modules/filters/mod_crypto.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_crypto.c?rev=1761281&r1=1761280&r2=1761281&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_crypto.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_crypto.c Sat Sep 17 21:28:12 2016
@@ -118,13 +118,14 @@ static const char *parse_pass_conf_binar
     char ps = *arg;
 
     if ('f' == ps && !strncmp(arg, "file:", 5)) {
-        arg += 5;
+        const char *name;
 
+        arg += 5;
         if (!*arg) {
             return apr_pstrcat(cmd->pool, "No filename specified", NULL);
         }
 
-        const char *name = ap_server_root_relative(cmd->temp_pool, arg);
+        name = ap_server_root_relative(cmd->temp_pool, arg);
         if (name) {
             apr_file_t *file;
 



Mime
View raw message