[MPlayer-dev-eng] [PATCHv2 8/8] stream ftp: Increase command buffer size

Alexander Strasser eclipse7 at gmx.net
Sat Nov 17 01:04:20 CET 2012


Allow for more longish file names (be it because of length or more
lengthy characters).

Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
---
 stream/stream_ftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index a7d194f..e7ae201 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -67,7 +67,7 @@ static struct stream_priv_s {
   NULL,
 };
 
-#define CMD_BUFSIZE 256
+#define CMD_BUFSIZE 8192
 
 #define BUFSIZE 2048
 
-- 
1.7.10.2.552.gaa3bb87


More information about the MPlayer-dev-eng mailing list