From: wessels <> Date: Fri, 22 Nov 1996 15:37:52 +0000 (+0000) Subject: change port to u_short X-Git-Tag: SQUID_3_0_PRE1~5434 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b29537ca7b45c212dcaca944346c8b85fc5d927;p=thirdparty%2Fsquid.git change port to u_short --- diff --git a/src/url.cc b/src/url.cc index 218a2511dc..6f011ebd6b 100644 --- a/src/url.cc +++ b/src/url.cc @@ -1,6 +1,6 @@ /* - * $Id: url.cc,v 1.44 1996/11/18 18:25:06 wessels Exp $ + * $Id: url.cc,v 1.45 1996/11/22 08:37:52 wessels Exp $ * * DEBUG: section 23 URL Parsing * AUTHOR: Duane Wessels @@ -243,7 +243,7 @@ urlParse(method_t method, char *url) request->protocol = protocol; xstrncpy(request->host, host, SQUIDHOSTNAMELEN); xstrncpy(request->login, login, MAX_LOGIN_SZ); - request->port = port; + request->port = (u_short) port; xstrncpy(request->urlpath, urlpath, MAX_URL); request->max_age = -1; return request;