svn commit: trunk/busybox/networking

pgf at busybox.net pgf at busybox.net
Mon Nov 28 16:30:05 UTC 2005


Author: pgf
Date: 2005-11-28 08:29:45 -0800 (Mon, 28 Nov 2005)
New Revision: 12553

Log:
eliminate mixed declaration, to support older compilers a little longer.


Modified:
   trunk/busybox/networking/telnet.c


Changeset:
Modified: trunk/busybox/networking/telnet.c
===================================================================
--- trunk/busybox/networking/telnet.c	2005-11-28 16:14:09 UTC (rev 12552)
+++ trunk/busybox/networking/telnet.c	2005-11-28 16:29:45 UTC (rev 12553)
@@ -645,8 +645,7 @@
 		bb_show_usage();
 
 #ifdef CONFIG_FEATURE_TELNET_AUTOLOGIN
-	unsigned long flags = bb_getopt_ulflags(argc, argv, "al:", &autologin);
-	if (flags & 1)
+	if (1 & bb_getopt_ulflags(argc, argv, "al:", &autologin))
 		autologin = getenv("USER");
 	
 	if (optind < argc) {




More information about the busybox-cvs mailing list