ftpd: code shrink
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 9 Mar 2009 04:22:52 +0000 (04:22 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 9 Mar 2009 04:22:52 +0000 (04:22 -0000)
networking/ftpd.c

index 114975d021693e45b4f28be0e0d15ebf832c72d4..4988ce02e3cdf752fcb7d842bc7f43cc9ce1e77d 100644 (file)
@@ -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
        {