From 88d4fa535282fc4edb8d2bc3f20b4219a220b533 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 12 Aug 2020 13:08:48 +0200 Subject: sftp: Fix more typos Signed-off-by: Jakub Jelen Reviewed-by: Anderson Toshiyuki Sasaki --- include/libssh/sftp.h | 2 +- src/sftp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index c340219d..c855df8a 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -806,7 +806,7 @@ LIBSSH_API void sftp_statvfs_free(sftp_statvfs_t statvfs_o); /** * @brief Synchronize a file's in-core state with storage device * - * This calls the "fsync@openssh.com" extention. You should check if the + * This calls the "fsync@openssh.com" extension. You should check if the * extensions is supported using: * * @code diff --git a/src/sftp.c b/src/sftp.c index 53582f45..07cb1c0e 100644 --- a/src/sftp.c +++ b/src/sftp.c @@ -1269,7 +1269,7 @@ static char *sftp_parse_longname(const char *longname, size_t len, field = 0; p = longname; - /* Find the beginning of the field which is specified by sftp_longanme_field_e. */ + /* Find the beginning of the field which is specified by sftp_longname_field_e. */ while(field != longname_field) { if(isspace(*p)) { field++; -- cgit v1.2.3