cvs: php4(PHP_4_3) /ext/standard ftp_fopen_wrapper.c
| From: | Stefan Esser | Date: | Mon, 25 Nov 2002 22:58:26 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard ftp_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16645@lists.php.net to get a copy of this message | ||
sesser Mon Nov 25 17:58:26 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard ftp_fopen_wrapper.c
Log:
MFH
Index: php4/ext/standard/ftp_fopen_wrapper.c
diff -u php4/ext/standard/ftp_fopen_wrapper.c:1.38.2.1
php4/ext/standard/ftp_fopen_wrapper.c:1.38.2.2
--- php4/ext/standard/ftp_fopen_wrapper.c:1.38.2.1 Mon Nov 25 17:01:46 2002
+++ php4/ext/standard/ftp_fopen_wrapper.c Mon Nov 25 17:58:26 2002
@@ -17,7 +17,7 @@
| Hartmut Holzgraefe <hholzgra@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: ftp_fopen_wrapper.c,v 1.38.2.1 2002/11/25 22:01:46 iliaa Exp $ */
+/* $Id: ftp_fopen_wrapper.c,v 1.38.2.2 2002/11/25 22:58:26 sesser Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -149,6 +149,8 @@
#endif
char *tpath, *ttpath, *hoststart=NULL;
size_t file_size = 0;
+
+ tmp_line[0] = '\0';
if (strchr(mode, 'a') || strchr(mode, '+')) {
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP does not support simultaneous
read/write connections.");