aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-08-12 13:08:48 +0200
committerJakub Jelen <jjelen@redhat.com>2020-08-12 13:13:13 +0200
commit88d4fa535282fc4edb8d2bc3f20b4219a220b533 (patch)
tree9525dd14f132d6f75d728941e88e556652271436
parentc0b65ccc5ac7e673153f5f1596f0adbaefd41222 (diff)
downloadlibssh-88d4fa535282fc4edb8d2bc3f20b4219a220b533.tar.gz
libssh-88d4fa535282fc4edb8d2bc3f20b4219a220b533.tar.xz
libssh-88d4fa535282fc4edb8d2bc3f20b4219a220b533.zip
sftp: Fix more typos
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
-rw-r--r--include/libssh/sftp.h2
-rw-r--r--src/sftp.c2
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++;