diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2015-12-22 08:42:21 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2015-12-22 08:42:21 +0100 |
commit | c8b02a8c0a00988bbce1406e46a1aaa92db7703f (patch) | |
tree | 91bde0896e213459823c9aa3618d6fbd06756a14 /modules/arch | |
parent | disk_cache: improve logging of errors around reading stored headers (diff) | |
download | apache2-c8b02a8c0a00988bbce1406e46a1aaa92db7703f.tar.xz apache2-c8b02a8c0a00988bbce1406e46a1aaa92db7703f.zip |
Save a few bytes in conf pool when processing 'NWSSLTrustedCerts'.
*Untested* as I don't have the corresponding system.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721313 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch')
-rw-r--r-- | modules/arch/netware/mod_nw_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/arch/netware/mod_nw_ssl.c b/modules/arch/netware/mod_nw_ssl.c index d34430023e..8e392a7f01 100644 --- a/modules/arch/netware/mod_nw_ssl.c +++ b/modules/arch/netware/mod_nw_ssl.c @@ -404,7 +404,7 @@ static int SSLize_Socket(SOCKET socketHnd, char *key, request_rec *r) ulFlag = SO_TLS_ENABLE; rcode = WSAIoctl(socketHnd, SO_TLS_SET_FLAGS, &ulFlag, sizeof(unsigned long), NULL, 0, NULL, NULL, NULL); - if(rcode) { + if (rcode) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(02126) "Error: %d with WSAIoctl(SO_TLS_SET_FLAGS, SO_TLS_ENABLE)", WSAGetLastError()); @@ -635,7 +635,7 @@ static const char *set_trusted_certs(cmd_parms *cmd, void *dummy, char *arg) { char **ptr = (char **)apr_array_push(certlist); - *ptr = apr_pstrdup(cmd->pool, arg); + *ptr = arg; return NULL; } |