Bernhard Fischer pointed out some leftover debris needing cleanup.

This commit is contained in:
Rob Landley 2006-08-15 21:37:55 +00:00
parent a299efb7b0
commit 4640b05afd
2 changed files with 1 additions and 13 deletions

View File

@ -12,18 +12,6 @@
*/
#include "busybox.h"
//#include <stdlib.h>
//#include <stdio.h>
//#include <string.h>
//#include <stddef.h>
//#include <errno.h>
//#include <unistd.h>
//#include <dirent.h>
//#include <ctype.h>
//#include <assert.h>
//#include <getopt.h>
//#include <sys/utsname.h>
//#include <sys/file.h>
#ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE

View File

@ -203,7 +203,7 @@ static int listen_socket(char *iface_addr, int listen_port)
if (!inet_aton(iface_addr, &a.sin_addr))
bb_perror_msg_and_die("bad iface address");
xbind(s, (struct sockaddr *)&a, sizeof(a));
xlisten(s, 50); /* xlisten? */
xlisten(s, 50);
sprintf(msg, "accepting UDP packets on addr:port %s:%d\n",
iface_addr, (int)listen_port);
log_message(LOG_FILE, msg);