Skip to content

Commit 23674d9

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: ftp: Fix weird typo (php#20295)
2 parents 5d0499a + 393302b commit 23674d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/ftp/php_ftp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ PHP_FUNCTION(ftp_nb_get)
815815
}
816816
/* }}} */
817817

818-
/* {{{ Continues retrieving/sending a file nbronously */
818+
/* {{{ Continues to retrieve or send a file in non-blocking mode */
819819
PHP_FUNCTION(ftp_nb_continue)
820820
{
821821
zval *z_ftp;
@@ -828,7 +828,7 @@ PHP_FUNCTION(ftp_nb_continue)
828828
GET_FTPBUF(ftp, z_ftp);
829829

830830
if (!ftp->nb) {
831-
php_error_docref(NULL, E_WARNING, "No nbronous transfer to continue");
831+
php_error_docref(NULL, E_WARNING, "No non-blocking transfer to continue");
832832
RETURN_LONG(PHP_FTP_FAILED);
833833
}
834834

ext/ftp/tests/005.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ int(-1)
8585
Warning: ftp_mkdir(): Command not implemented (7). in %s005.php on line %d
8686
bool(false)
8787

88-
Warning: ftp_nb_continue(): No nbronous transfer to continue in %s005.php on line %d
88+
Warning: ftp_nb_continue(): No non-blocking transfer to continue in %s on line %d
8989
int(0)
9090
ftp_nb_fget(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY
9191
ftp_nb_fput(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY

0 commit comments

Comments
 (0)