httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <>
Subject Re: Where is ap_run_default_port()?
Date Wed, 17 Jan 2007 02:16:48 GMT
On 1/15/07, Brandon Fosdick <> wrote:
> I'm trying to use ap_default_port() in mod_log_dbd to get the port number from a request_rec,
and apparently it's a macro in httpd.h that wraps ap_run_default_port(). But when I compile
the module I get "error: `ap_run_default_port' was not declared in this scope". mod_log_config.c
seems to use it just fine, so I grep'd to see where it is...

Are you including http_protocol.h to get the definition of

request_rec *r))

View raw message