You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rs...@apache.org on 2001/07/17 16:38:13 UTC
cvs commit: httpd-2.0/modules/ssl ssl_util.c
rse 01/07/17 07:38:12
Modified: modules/ssl ssl_util.c
Log:
Merge in part of a set of mod_ssl porting changes.
Submitted by: Madhusudan Mathihalli <ma...@hp.com>
Revision Changes Path
1.8 +2 -2 httpd-2.0/modules/ssl/ssl_util.c
Index: ssl_util.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_util.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ssl_util.c 2001/06/28 01:05:32 1.7
+++ ssl_util.c 2001/07/17 14:38:06 1.8
@@ -74,7 +74,7 @@
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 @@
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;
}