mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-09 15:41:10 +03:00
Fix typo
Renamed `process_unsupposed` to `process_unsupported`. Signed-off-by: James Wrigley <james@puiterwijk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
48d474f78c
commit
629ba3fd34
@@ -822,7 +822,7 @@ struct sftp_handle
|
|||||||
char *name;
|
char *name;
|
||||||
};
|
};
|
||||||
|
|
||||||
SSH_SFTP_CALLBACK(process_unsupposed);
|
SSH_SFTP_CALLBACK(process_unsupported);
|
||||||
SSH_SFTP_CALLBACK(process_open);
|
SSH_SFTP_CALLBACK(process_open);
|
||||||
SSH_SFTP_CALLBACK(process_read);
|
SSH_SFTP_CALLBACK(process_read);
|
||||||
SSH_SFTP_CALLBACK(process_write);
|
SSH_SFTP_CALLBACK(process_write);
|
||||||
@@ -846,9 +846,9 @@ const struct sftp_message_handler message_handlers[] = {
|
|||||||
{"read", NULL, SSH_FXP_READ, process_read},
|
{"read", NULL, SSH_FXP_READ, process_read},
|
||||||
{"write", NULL, SSH_FXP_WRITE, process_write},
|
{"write", NULL, SSH_FXP_WRITE, process_write},
|
||||||
{"lstat", NULL, SSH_FXP_LSTAT, process_lstat},
|
{"lstat", NULL, SSH_FXP_LSTAT, process_lstat},
|
||||||
{"fstat", NULL, SSH_FXP_FSTAT, process_unsupposed},
|
{"fstat", NULL, SSH_FXP_FSTAT, process_unsupported},
|
||||||
{"setstat", NULL, SSH_FXP_SETSTAT, process_setstat},
|
{"setstat", NULL, SSH_FXP_SETSTAT, process_setstat},
|
||||||
{"fsetstat", NULL, SSH_FXP_FSETSTAT, process_unsupposed},
|
{"fsetstat", NULL, SSH_FXP_FSETSTAT, process_unsupported},
|
||||||
{"opendir", NULL, SSH_FXP_OPENDIR, process_opendir},
|
{"opendir", NULL, SSH_FXP_OPENDIR, process_opendir},
|
||||||
{"readdir", NULL, SSH_FXP_READDIR, process_readdir},
|
{"readdir", NULL, SSH_FXP_READDIR, process_readdir},
|
||||||
{"remove", NULL, SSH_FXP_REMOVE, process_remove},
|
{"remove", NULL, SSH_FXP_REMOVE, process_remove},
|
||||||
@@ -856,7 +856,7 @@ const struct sftp_message_handler message_handlers[] = {
|
|||||||
{"rmdir", NULL, SSH_FXP_RMDIR, process_rmdir},
|
{"rmdir", NULL, SSH_FXP_RMDIR, process_rmdir},
|
||||||
{"realpath", NULL, SSH_FXP_REALPATH, process_realpath},
|
{"realpath", NULL, SSH_FXP_REALPATH, process_realpath},
|
||||||
{"stat", NULL, SSH_FXP_STAT, process_stat},
|
{"stat", NULL, SSH_FXP_STAT, process_stat},
|
||||||
{"rename", NULL, SSH_FXP_RENAME, process_unsupposed},
|
{"rename", NULL, SSH_FXP_RENAME, process_unsupported},
|
||||||
{"readlink", NULL, SSH_FXP_READLINK, process_readlink},
|
{"readlink", NULL, SSH_FXP_READLINK, process_readlink},
|
||||||
{"symlink", NULL, SSH_FXP_SYMLINK, process_symlink},
|
{"symlink", NULL, SSH_FXP_SYMLINK, process_symlink},
|
||||||
{"init", NULL, SSH_FXP_INIT, sftp_reply_version},
|
{"init", NULL, SSH_FXP_INIT, sftp_reply_version},
|
||||||
@@ -1628,7 +1628,7 @@ process_remove(sftp_client_message client_msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
process_unsupposed(sftp_client_message client_msg)
|
process_unsupported(sftp_client_message client_msg)
|
||||||
{
|
{
|
||||||
sftp_reply_status(client_msg, SSH_FX_OP_UNSUPPORTED,
|
sftp_reply_status(client_msg, SSH_FX_OP_UNSUPPORTED,
|
||||||
"Operation not supported");
|
"Operation not supported");
|
||||||
|
|||||||
Reference in New Issue
Block a user