Skip to content

Commit d403036

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: ftp: Fix weird typo (#20295)
2 parents cb1f932 + 61b0d58 commit d403036

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
@@ -809,7 +809,7 @@ PHP_FUNCTION(ftp_nb_get)
809809
}
810810
/* }}} */
811811

812-
/* {{{ Continues retrieving/sending a file nbronously */
812+
/* {{{ Continues to retrieve or send a file in non-blocking mode */
813813
PHP_FUNCTION(ftp_nb_continue)
814814
{
815815
zval *z_ftp;
@@ -822,7 +822,7 @@ PHP_FUNCTION(ftp_nb_continue)
822822
GET_FTPBUF(ftp, z_ftp);
823823

824824
if (!ftp->nb) {
825-
php_error_docref(NULL, E_WARNING, "No nbronous transfer to continue");
825+
php_error_docref(NULL, E_WARNING, "No non-blocking transfer to continue");
826826
RETURN_LONG(PHP_FTP_FAILED);
827827
}
828828

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)