cvs: php4 /ext/ftp ftp.c
| From: | Jani Taskinen | Date: | Fri, 27 Oct 2000 20:47:36 +0000 |
| Subject: | cvs: php4 /ext/ftp ftp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2317@lists.php.net to get a copy of this message | ||
sniper Fri Oct 27 13:47:36 2000 EDT
Modified files:
/php4/ext/ftp ftp.c
Log:
Fixes PR: 7245
Index: php4/ext/ftp/ftp.c
diff -u php4/ext/ftp/ftp.c:1.25 php4/ext/ftp/ftp.c:1.26
--- php4/ext/ftp/ftp.c:1.25 Wed Sep 13 15:00:31 2000
+++ php4/ext/ftp/ftp.c Fri Oct 27 13:47:36 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ftp.c,v 1.25 2000/09/13 22:00:31 derick Exp $ */
+/* $Id: ftp.c,v 1.26 2000/10/27 20:47:36 sniper Exp $ */
#include "php.h"
@@ -732,7 +732,7 @@
char *data;
/* build the output buffer */
- if (args) {
+ if (args && args[0]) {
/* "cmd args\r\n\0" */
if (strlen(cmd) + strlen(args) + 4 > FTP_BUFSIZE)
return 0;