From: Ralf S. Engelschall Date: Tue, 17 Jul 2001 14:38:06 +0000 (+0000) Subject: Merge in part of a set of mod_ssl porting changes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c182417399e8b7dcbd58c8ed37516dd766204c7;p=thirdparty%2Fapache%2Fhttpd.git Merge in part of a set of mod_ssl porting changes. Submitted by: Madhusudan Mathihalli git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@89563 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_util.c b/ssl_util.c index fd3836e4d99..d85d797cfb5 100644 --- a/ssl_util.c +++ b/ssl_util.c @@ -74,7 +74,7 @@ char *ssl_util_vhostid(apr_pool_t *p, server_rec *s) char *id; SSLSrvConfigRec *sc; char *host; - unsigned int port; + apr_port_t port; host = s->server_hostname; if (s->port != 0) @@ -86,7 +86,7 @@ char *ssl_util_vhostid(apr_pool_t *p, server_rec *s) else port = DEFAULT_HTTP_PORT; } - id = apr_psprintf(p, "%s:%u", host, port); + id = apr_psprintf(p, "%s:%lu", host, (unsigned long)port); return id; }