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

This commit is contained in:
Paul Fox 2005-11-28 16:29:45 +00:00
parent 8c44f0179d
commit 5a16a89427

View File

@ -645,8 +645,7 @@ extern int telnet_main(int argc, char** argv)
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) {