[Ocfs2-commits] manish commits r2419 - trunk/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jun 22 18:07:47 CDT 2005


Author: manish
Signed-off-by: mfasheh
Date: 2005-06-22 18:07:45 -0500 (Wed, 22 Jun 2005)
New Revision: 2419

Modified:
   trunk/fs/ocfs2/cluster/tcp.c
Log:
Change struct initialization to work with older compilers

Signed-off-by: mfasheh


Modified: trunk/fs/ocfs2/cluster/tcp.c
===================================================================
--- trunk/fs/ocfs2/cluster/tcp.c	2005-06-22 06:07:38 UTC (rev 2418)
+++ trunk/fs/ocfs2/cluster/tcp.c	2005-06-22 23:07:45 UTC (rev 2419)
@@ -1450,7 +1450,7 @@
 	int ret;
 	struct sockaddr_in sin = {
 		.sin_family = PF_INET,
-		.sin_addr.s_addr = htonl(INADDR_ANY),
+		.sin_addr = { .s_addr = htonl(INADDR_ANY) },
 		.sin_port = port,
 	};
 



More information about the Ocfs2-commits mailing list