From d42eb81206dba25b01f68f98272daa34f61531d0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 9 Mar 2009 04:22:52 +0000 Subject: [PATCH] ftpd: code shrink --- networking/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/ftpd.c b/networking/ftpd.c index 114975d02..4988ce02e 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 { -- 2.25.1