diff lib/rfc959.c @ 249:094e83b55cb1

2003-8-7 Brian Masney <masneyb@gftp.org> * lib/cache.c lib/misc.c lib/protocols.c lib/pty.c - make sure a NUL byte appears at the end of the buffer after the call to strncpy * lib/rfc959.c - increased buffer size to directory parsing routine
author masneyb
date Fri, 08 Aug 2003 02:24:54 +0000
parents afbbc72b73e2
children b0c531678919
line wrap: on
line diff
--- a/lib/rfc959.c	Fri Aug 08 01:38:12 2003 +0000
+++ b/lib/rfc959.c	Fri Aug 08 02:24:54 2003 +0000
@@ -1385,7 +1385,7 @@
 rfc959_get_next_file (gftp_request * request, gftp_file * fle, int fd)
 {
   rfc959_parms * parms;
-  char tempstr[255];
+  char tempstr[1024];
   ssize_t len;
 
   g_return_val_if_fail (request != NULL, GFTP_EFATAL);