--------------------- PatchSet 11392 Date: 2007/04/26 23:11:51 Author: hno Branch: SQUID_2_6 Tag: (none) Log: MFC: in_port_t is not portable, use unsigned short instead in_port_t does not exists on Solaris and quite likely many other OS:es as well. Merged changes: 2007/04/25 12:27:33 hno +2 -2 in_port_t is not portable, use unsigned short instead Members: src/structs.h:1.507.2.4->1.507.2.5 Index: squid/src/structs.h =================================================================== RCS file: /cvsroot/squid/squid/src/structs.h,v retrieving revision 1.507.2.4 retrieving revision 1.507.2.5 diff -u -r1.507.2.4 -r1.507.2.5 --- squid/src/structs.h 27 Feb 2007 01:20:01 -0000 1.507.2.4 +++ squid/src/structs.h 26 Apr 2007 23:11:51 -0000 1.507.2.5 @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.507.2.4 2007/02/27 01:20:01 hno Exp $ + * $Id: structs.h,v 1.507.2.5 2007/04/26 23:11:51 hno Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -1884,7 +1884,7 @@ int imslen; int max_forwards; /* these in_addr's could probably be sockaddr_in's */ - in_port_t client_port; + unsigned short client_port; struct in_addr client_addr; #if FOLLOW_X_FORWARDED_FOR struct in_addr indirect_client_addr; /* after following X-Forwarded-For */