svn commit: [25580] trunk/busybox/networking

vda at busybox.net vda at busybox.net
Mon Mar 9 04:22:52 UTC 2009


Author: vda
Date: 2009-03-09 04:22:52 +0000 (Mon, 09 Mar 2009)
New Revision: 25580

Log:
ftpd: code shrink



Modified:
   trunk/busybox/networking/ftpd.c


Changeset:
Modified: trunk/busybox/networking/ftpd.c
===================================================================
--- trunk/busybox/networking/ftpd.c	2009-03-09 04:18:00 UTC (rev 25579)
+++ trunk/busybox/networking/ftpd.c	2009-03-09 04:22:52 UTC (rev 25580)
@@ -934,7 +934,7 @@
 	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
 	{



More information about the busybox-cvs mailing list