1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

removed NULL reference

This commit is contained in:
Andrew Skalski
1999-09-21 23:37:26 +00:00
parent 773a26bb22
commit 709286c0d2
+1 -3
View File
@@ -117,10 +117,8 @@ PHP_FUNCTION(ftp_connect)
/* 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);