You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mm...@apache.org on 2003/09/05 17:19:29 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_connect.c
mmanders 2003/09/05 08:19:29
Modified: jk/native/common jk_connect.c
Log:
Added special case for NetWare since the MetroWerks compiler is so strict on types.
Revision Changes Path
1.14 +6 -1 jakarta-tomcat-connectors/jk/native/common/jk_connect.c
Index: jk_connect.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_connect.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- jk_connect.c 30 Aug 2003 03:11:19 -0000 1.13
+++ jk_connect.c 5 Sep 2003 15:19:29 -0000 1.14
@@ -116,7 +116,12 @@
/* TODO: Should be updated for IPV6 support. */
/* for now use the correct type, in_addr_t */
+ /* except on NetWare since the MetroWerks compiler is so strict */
+#if defined(NETWARE)
+ u_long laddr;
+#else
in_addr_t laddr;
+#endif
rc->sin_port = htons((short)port);
rc->sin_family = AF_INET;