You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2003/08/29 15:08:57 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_channel_socket.c
hgomez 2003/08/29 06:08:57
Modified: jk/native2/common jk_channel_socket.c
Log:
No more special iSeries defines now that we define _XOPEN_SOURCE=520
in build script...
ie:
CRTCMOD MODULE(MOD_JK/JK_CONNECT) +
SRCSTMF('/home/apache/jk/native/common/jk_connect.c') +
DEFINE('AS400' 'HAVE_JNI' 'HAVE_APR' '_XOPEN_SOURCE=520' +
'USE_APACHE_MD5' '_REENTRANT') +
TEXT('jk_connect.c') +
OPTIMIZE(40) +
SYSIFCOPT(*IFSIO) +
LANGLVL(*ANSI) +
TGTCCSID(*JOB) +
OPTION(*LOGMSG) +
TERASPACE(*YES *TSIFC) +
STGMDL(*INHERIT) +
INCDIR('/home/apache/jk/native/common' '/QIBM/ProdData/HTTPA/Include')
Revision Changes Path
1.56 +1 -6 jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c
Index: jk_channel_socket.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- jk_channel_socket.c 26 Aug 2003 10:07:36 -0000 1.55
+++ jk_channel_socket.c 29 Aug 2003 13:08:57 -0000 1.56
@@ -246,13 +246,8 @@
int x;
/* TODO: Should be updated for IPV6 support. */
- /* for now use the correct type, in_addr_t (or u_long for OS400) */
-
-#ifdef AS400
- u_long laddr;
-#else
+ /* for now use the correct type, in_addr_t */
in_addr_t laddr;
-#endif
rc->sin_port = htons((short)port);
rc->sin_family = AF_INET;