summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox2005-11-28 16:29:45 +0000
committerPaul Fox2005-11-28 16:29:45 +0000
commit5a16a8942706839a57a600b5d11059ddfe2f94cd (patch)
treec664665daffede8cfe1297a3ee639c8b65a22dce
parent8c44f0179d8c7a94eef0ebde60390d6391bde516 (diff)
downloadbusybox-5a16a8942706839a57a600b5d11059ddfe2f94cd.zip
busybox-5a16a8942706839a57a600b5d11059ddfe2f94cd.tar.gz
eliminate mixed declaration, to support older compilers a little longer.
-rw-r--r--networking/telnet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index d9f0e94..3143631 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -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) {