summaryrefslogtreecommitdiff
path: root/modules/arch
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2015-12-22 07:42:21 +0000
committerChristophe Jaillet <jailletc36@apache.org>2015-12-22 07:42:21 +0000
commitc8b02a8c0a00988bbce1406e46a1aaa92db7703f (patch)
tree91bde0896e213459823c9aa3618d6fbd06756a14 /modules/arch
parentd965bf637f72816135c60dbefff05ebc7560d6af (diff)
downloadhttpd-c8b02a8c0a00988bbce1406e46a1aaa92db7703f.tar.gz
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.c4
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;
}