diff options
author | Denis Vlasenko | 2009-04-21 11:09:40 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-21 11:09:40 +0000 |
commit | 5e34ff29bcc870936ab18172f438a34d042d4e03 (patch) | |
tree | a5e7a528f2f916eb883f1161eadceacdf2dca4be /networking/telnetd.c | |
parent | 8b814b4a349e2262c0ad25793b05206a14651ebb (diff) | |
download | busybox-5e34ff29bcc870936ab18172f438a34d042d4e03.zip busybox-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.gz |
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r-- | networking/telnetd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c index ccf3289..b7162ad 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c @@ -201,8 +201,8 @@ static size_t iac_safe_write(int fd, const char *buf, size_t count) static struct tsession * make_new_session( - USE_FEATURE_TELNETD_STANDALONE(int sock) - SKIP_FEATURE_TELNETD_STANDALONE(void) + IF_FEATURE_TELNETD_STANDALONE(int sock) + IF_NOT_FEATURE_TELNETD_STANDALONE(void) ) { const char *login_argv[2]; struct termios termbuf; @@ -437,9 +437,9 @@ int telnetd_main(int argc UNUSED_PARAM, char **argv) #endif /* Even if !STANDALONE, we accept (and ignore) -i, thus people * don't need to guess whether it's ok to pass -i to us */ - opt = getopt32(argv, "f:l:Ki" USE_FEATURE_TELNETD_STANDALONE("p:b:F"), + opt = getopt32(argv, "f:l:Ki" IF_FEATURE_TELNETD_STANDALONE("p:b:F"), &issuefile, &loginpath - USE_FEATURE_TELNETD_STANDALONE(, &opt_portnbr, &opt_bindaddr)); + IF_FEATURE_TELNETD_STANDALONE(, &opt_portnbr, &opt_bindaddr)); if (!IS_INETD /*&& !re_execed*/) { /* inform that we start in standalone mode? * May be useful when people forget to give -i */ @@ -455,7 +455,7 @@ int telnetd_main(int argc UNUSED_PARAM, char **argv) openlog(applet_name, LOG_PID, LOG_DAEMON); logmode = LOGMODE_SYSLOG; } - USE_FEATURE_TELNETD_STANDALONE( + IF_FEATURE_TELNETD_STANDALONE( if (opt & OPT_PORT) portnbr = xatou16(opt_portnbr); ); |