svn commit: trunk/busybox/libbb

vodz at busybox.net vodz at busybox.net
Fri Feb 17 09:33:23 UTC 2006


Author: vodz
Date: 2006-02-17 01:33:22 -0800 (Fri, 17 Feb 2006)
New Revision: 14091

Log:
type typo. Thanks, Devin Bayer

Modified:
   trunk/busybox/libbb/xconnect.c


Changeset:
Modified: trunk/busybox/libbb/xconnect.c
===================================================================
--- trunk/busybox/libbb/xconnect.c	2006-02-17 09:33:07 UTC (rev 14090)
+++ trunk/busybox/libbb/xconnect.c	2006-02-17 09:33:22 UTC (rev 14091)
@@ -62,7 +62,7 @@
 int xconnect(struct sockaddr_in *s_addr)
 {
 	int s = socket(AF_INET, SOCK_STREAM, 0);
-	if (connect(s, (struct sockaddr_in *)s_addr, sizeof(struct sockaddr_in)) < 0)
+	if (connect(s, (struct sockaddr *)s_addr, sizeof(struct sockaddr_in)) < 0)
 	{
 		if (ENABLE_FEATURE_CLEAN_UP) close(s);
 		bb_perror_msg_and_die("Unable to connect to remote host (%s)",




More information about the busybox-cvs mailing list