diff options
author | Paul Fox <pgf@brightstareng.com> | 2005-11-28 16:29:45 +0000 |
---|---|---|
committer | Paul Fox <pgf@brightstareng.com> | 2005-11-28 16:29:45 +0000 |
commit | 5a16a8942706839a57a600b5d11059ddfe2f94cd (patch) | |
tree | c664665daffede8cfe1297a3ee639c8b65a22dce /networking | |
parent | 8c44f0179d8c7a94eef0ebde60390d6391bde516 (diff) | |
download | busybox-5a16a8942706839a57a600b5d11059ddfe2f94cd.tar.gz |
eliminate mixed declaration, to support older compilers a little longer.
Diffstat (limited to 'networking')
-rw-r--r-- | networking/telnet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index d9f0e94bc..314363188 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) { |