httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1715273 - /httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
Date Thu, 19 Nov 2015 20:58:55 GMT
Author: jailletc36
Date: Thu Nov 19 20:58:55 2015
New Revision: 1715273

URL: http://svn.apache.org/viewvc?rev=1715273&view=rev
Log:
Save a few bytes in conf pool.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_config.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_config.c?rev=1715273&r1=1715272&r2=1715273&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_config.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_config.c Thu Nov 19 20:58:55 2015
@@ -805,8 +805,7 @@ const char *ssl_cmd_SSLCertificateFile(c
         return err;
     }
 
-    *(const char **)apr_array_push(sc->server->pks->cert_files) =
-        apr_pstrdup(cmd->pool, arg);
+    *(const char **)apr_array_push(sc->server->pks->cert_files) = arg;
     
     return NULL;
 }
@@ -822,8 +821,7 @@ const char *ssl_cmd_SSLCertificateKeyFil
         return err;
     }
 
-    *(const char **)apr_array_push(sc->server->pks->key_files) =
-        apr_pstrdup(cmd->pool, arg);
+    *(const char **)apr_array_push(sc->server->pks->key_files) = arg;
 
     return NULL;
 }



Mime
View raw message