svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Thu May 15 19:44:47 UTC 2008


Author: vda
Date: 2008-05-15 12:44:46 -0700 (Thu, 15 May 2008)
New Revision: 21982

Log:
remove stray semicolons (by Cristian Ionescu-Idbohrn)



Modified:
   trunk/busybox/networking/interface.c
   trunk/busybox/networking/isrv_identd.c


Changeset:
Modified: trunk/busybox/networking/interface.c
===================================================================
--- trunk/busybox/networking/interface.c	2008-05-15 09:15:33 UTC (rev 21981)
+++ trunk/busybox/networking/interface.c	2008-05-15 19:44:46 UTC (rev 21982)
@@ -223,7 +223,7 @@
 	char *pos;
 	unsigned int i;
 
-	if (!buff);
+	if (!buff)
 		buff = xmalloc(sizeof(struct sockaddr) * 3 + 1);
 	pos = buff;
 	for (i = 0; i < sizeof(struct sockaddr); i++) {

Modified: trunk/busybox/networking/isrv_identd.c
===================================================================
--- trunk/busybox/networking/isrv_identd.c	2008-05-15 09:15:33 UTC (rev 21981)
+++ trunk/busybox/networking/isrv_identd.c	2008-05-15 19:44:46 UTC (rev 21982)
@@ -113,7 +113,7 @@
 		strncpy(bogouser, argv[optind], sizeof(bogouser));
 
 	/* Daemonize if no -f and no -i and no -w */
-	if (!(opt & OPT_fiw));
+	if (!(opt & OPT_fiw))
 		bb_daemonize_or_rexec(0, argv);
 
 	/* Where to log in inetd modes? "Classic" inetd




More information about the busybox-cvs mailing list