Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/ftp/php_ftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ PHP_FUNCTION(ftp_nb_get)
}
/* }}} */

/* {{{ Continues retrieving/sending a file nbronously */
/* {{{ Continues retrieving/sending a file non-blocking */
PHP_FUNCTION(ftp_nb_continue)
{
zval *z_ftp;
Expand All @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion ext/ftp/tests/005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading