Date: 09/21/99
- Next message: Adam Trachtenberg: "Re: [PHP-DEV] cvs: /phpdoc/chapters config.sgml /phpdoc/functions misc.sgml"
- Previous message: Andrew Skalski: "[PHP-DEV] cvs: /php3/functions ftp.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
askalski Tue Sep 21 19:37:51 1999 EDT
Modified files:
/php3/functions php_ftp.c
Log:
removed NULL reference
Index: php3/functions/php_ftp.c
diff -u php3/functions/php_ftp.c:1.1 php3/functions/php_ftp.c:1.2
--- php3/functions/php_ftp.c:1.1 Mon Sep 20 11:39:06 1999
+++ php3/functions/php_ftp.c Tue Sep 21 19:37:51 1999
@@ -117,10 +117,8 @@
/* connect */
ftp = ftp_open(arg1->value.str.val, 0);
- if (ftp == NULL) {
- php_error(E_WARNING, "ftp_connect: %s", ftp->inbuf);
+ if (ftp == NULL)
RETURN_FALSE;
- }
id = php3_list_insert(ftp, le_ftpbuf);
RETURN_LONG(id);
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Adam Trachtenberg: "Re: [PHP-DEV] cvs: /phpdoc/chapters config.sgml /phpdoc/functions misc.sgml"
- Previous message: Andrew Skalski: "[PHP-DEV] cvs: /php3/functions ftp.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

