diff options
author | Rob Crittenden <rcritten@redhat.com> | 2014-02-21 13:23:58 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2014-02-21 14:20:19 -0500 |
commit | ed17d95907e6357fdf85a6de3b42322866a2860e (patch) | |
tree | ae41cc6f0872561e9d09898d6ca95359c2761275 /nss_engine_io.c | |
parent | 3413bbdd3c7703eb559b1544d910485a02951584 (diff) | |
download | mod_nss-ed17d95907e6357fdf85a6de3b42322866a2860e.tar.gz mod_nss-ed17d95907e6357fdf85a6de3b42322866a2860e.tar.xz mod_nss-ed17d95907e6357fdf85a6de3b42322866a2860e.zip |
Apache 2.4 compatibility changes
Diffstat (limited to 'nss_engine_io.c')
-rw-r--r-- | nss_engine_io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nss_engine_io.c b/nss_engine_io.c index 2f9559f..f55f7e0 100644 --- a/nss_engine_io.c +++ b/nss_engine_io.c @@ -621,13 +621,13 @@ static apr_status_t nss_filter_io_shutdown(nss_filter_ctx_t *filter_ctx, PR_Close(ssl); /* log the fact that we've closed the connection */ - if (c->base_server->loglevel >= APLOG_INFO) { + if (c->base_server->log.level >= APLOG_INFO) { ap_log_error(APLOG_MARK, APLOG_INFO, 0, c->base_server, "Connection to child %ld closed " "(server %s, client %s)", c->id, nss_util_vhostid(c->pool, c->base_server), - c->remote_ip ? c->remote_ip : "unknown"); + c->client_ip ? c->client_ip : "unknown"); } /* deallocate the SSL connection */ @@ -1165,7 +1165,7 @@ static PRStatus PR_CALLBACK nspr_filter_getpeername(PRFileDesc *fd, PRNetAddr *a filter_ctx = (nss_filter_ctx_t *)(fd->secret); c = filter_ctx->c; - return PR_StringToNetAddr(c->remote_ip, addr); + return PR_StringToNetAddr(c->client_ip, addr); } /* |