mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
stop using apr_sockaddr_port_get() accessor function, as it will
disappear from APR 1.0 API shortly git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -280,7 +280,7 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r)
|
||||
apr_table_addn(e, "SERVER_ADMIN", s->server_admin); /* Apache */
|
||||
apr_table_addn(e, "SCRIPT_FILENAME", r->filename); /* Apache */
|
||||
|
||||
apr_sockaddr_port_get(&rport, c->remote_addr);
|
||||
rport = c->remote_addr->port;
|
||||
apr_table_addn(e, "REMOTE_PORT", apr_itoa(r->pool, rport));
|
||||
|
||||
if (r->user) {
|
||||
|
Reference in New Issue
Block a user