summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2009-03-09 04:22:52 +0000
committerDenis Vlasenko2009-03-09 04:22:52 +0000
commitd42eb81206dba25b01f68f98272daa34f61531d0 (patch)
tree88a4e260bd0fdd3cc10219cd6c87c347fad11cc4
parent3455285339be8cbeaf3f1396ec290226254ba3f1 (diff)
downloadbusybox-d42eb81206dba25b01f68f98272daa34f61531d0.zip
busybox-d42eb81206dba25b01f68f98272daa34f61531d0.tar.gz
ftpd: code shrink
-rw-r--r--networking/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpd.c b/networking/ftpd.c
index 114975d..4988ce0 100644
--- a/networking/ftpd.c
+++ b/networking/ftpd.c
@@ -934,7 +934,7 @@ int ftpd_main(int argc UNUSED_PARAM, char **argv)
setsockopt(STDIN_FILENO, SOL_SOCKET, SO_KEEPALIVE, &const_int_1, sizeof(const_int_1));
setsockopt(STDIN_FILENO, SOL_SOCKET, SO_OOBINLINE, &const_int_1, sizeof(const_int_1));
- cmdio_write_raw(STR(FTP_GREET)" Welcome\r\n");
+ cmdio_write_ok(FTP_GREET);
#ifdef IF_WE_WANT_TO_REQUIRE_LOGIN
{