svn commit: trunk/busybox/networking

vapier at busybox.net vapier at busybox.net
Wed May 10 17:18:12 UTC 2006


Author: vapier
Date: 2006-05-10 10:18:11 -0700 (Wed, 10 May 2006)
New Revision: 15054

Log:
accept() takes a socklen_t, not an int

Modified:
   trunk/busybox/networking/telnetd.c


Changeset:
Modified: trunk/busybox/networking/telnetd.c
===================================================================
--- trunk/busybox/networking/telnetd.c	2006-05-10 17:17:09 UTC (rev 15053)
+++ trunk/busybox/networking/telnetd.c	2006-05-10 17:18:11 UTC (rev 15054)
@@ -525,7 +525,8 @@
 #ifndef CONFIG_FEATURE_TELNETD_INETD
 		/* First check for and accept new sessions.  */
 		if (FD_ISSET(master_fd, &rdfdset)) {
-			int fd, salen;
+			int fd;
+			socklen_t salen;
 
 			salen = sizeof(sa);
 			if ((fd = accept(master_fd, (struct sockaddr *)&sa,




More information about the busybox-cvs mailing list