diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 8c6c2e900177c..4d33e4d82535a 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -820,7 +820,7 @@ PHP_FUNCTION(ftp_nb_get) } /* }}} */ -/* {{{ Continues retrieving/sending a file nbronously */ +/* {{{ Continues to retrieve or send a file in non-blocking mode */ PHP_FUNCTION(ftp_nb_continue) { zval *z_ftp; @@ -833,7 +833,7 @@ PHP_FUNCTION(ftp_nb_continue) GET_FTPBUF(ftp, z_ftp); if (!ftp->nb) { - php_error_docref(NULL, E_WARNING, "No nbronous transfer to continue"); + php_error_docref(NULL, E_WARNING, "No non-blocking transfer to continue"); RETURN_LONG(PHP_FTP_FAILED); } diff --git a/ext/ftp/tests/005.phpt b/ext/ftp/tests/005.phpt index 409b60e184715..f08cadd2b4280 100644 --- a/ext/ftp/tests/005.phpt +++ b/ext/ftp/tests/005.phpt @@ -85,7 +85,7 @@ int(-1) Warning: ftp_mkdir(): Command not implemented (7). in %s005.php on line %d bool(false) -Warning: ftp_nb_continue(): No nbronous transfer to continue in %s005.php on line %d +Warning: ftp_nb_continue(): No non-blocking transfer to continue in %s on line %d int(0) ftp_nb_fget(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY ftp_nb_fput(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY