]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
change port to u_short
authorwessels <>
Fri, 22 Nov 1996 15:37:52 +0000 (15:37 +0000)
committerwessels <>
Fri, 22 Nov 1996 15:37:52 +0000 (15:37 +0000)
src/url.cc

index 218a2511dc016332b640fae6bc82f80922503976..6f011ebd6b35125b4f1d680c9fca798a29b92eeb 100644 (file)
@@ -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;