aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;