summaryrefslogtreecommitdiff
path: root/libftpconn
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-15 22:10:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-20 18:36:33 +0200
commitc0eaf0fad88f15c843098a43ca2cadbf009ce094 (patch)
tree7b129c5055ded1aa400d34409d64bbab363b3e9e /libftpconn
parent5a3976828225947d333ff2326d04f8b20e48e072 (diff)
fix common misspellings
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
Diffstat (limited to 'libftpconn')
-rw-r--r--libftpconn/fname.c2
-rw-r--r--libftpconn/ftpconn.h4
-rw-r--r--libftpconn/reply.c2
-rw-r--r--libftpconn/unix.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/libftpconn/fname.c b/libftpconn/fname.c
index afa0852b..3be6eeec 100644
--- a/libftpconn/fname.c
+++ b/libftpconn/fname.c
@@ -23,7 +23,7 @@
#include "ftpconn.h"
/* Give a name which refers to a directory file, and a name in that
- directory, this should return in COMPOSITE the composite name refering to
+ directory, this should return in COMPOSITE the composite name referring to
that name in that directory, in malloced storage. */
error_t
ftp_conn_append_name (struct ftp_conn *conn,
diff --git a/libftpconn/ftpconn.h b/libftpconn/ftpconn.h
index e445130e..558ff8f9 100644
--- a/libftpconn/ftpconn.h
+++ b/libftpconn/ftpconn.h
@@ -91,7 +91,7 @@ struct ftp_conn_syshooks
ftp_conn_add_stat_fun_t add_stat, void *hook);
/* Give a name which refers to a directory file, and a name in that
- directory, this should return in COMPOSITE the composite name refering
+ directory, this should return in COMPOSITE the composite name referring
to that name in that directory, in malloced storage. */
error_t (*append_name) (struct ftp_conn *conn,
const char *dir, const char *name,
@@ -371,7 +371,7 @@ error_t ftp_conn_get_names (struct ftp_conn *conn, const char *name,
ftp_conn_add_name_fun_t add_name, void *hook);
/* Give a name which refers to a directory file, and a name in that
- directory, this should return in COMPOSITE the composite name refering to
+ directory, this should return in COMPOSITE the composite name referring to
that name in that directory, in malloced storage. */
error_t ftp_conn_append_name (struct ftp_conn *conn,
const char *dir, const char *name,
diff --git a/libftpconn/reply.c b/libftpconn/reply.c
index 4f30f751..d39cdb02 100644
--- a/libftpconn/reply.c
+++ b/libftpconn/reply.c
@@ -78,7 +78,7 @@ ftp_conn_getline (struct ftp_conn *conn, const char **line, size_t *line_len)
offs = nl + 1 - l; /* Consume the line */
/* Null terminate the result by overwriting the newline; if
- there's a CR preceeding it, get rid of that too. */
+ there's a CR preceding it, get rid of that too. */
if (nl > *line && nl[-1] == '\r')
nl--;
*nl = '\0';
diff --git a/libftpconn/unix.c b/libftpconn/unix.c
index d279a7a6..28efefdd 100644
--- a/libftpconn/unix.c
+++ b/libftpconn/unix.c
@@ -732,7 +732,7 @@ finished:
}
/* Give a name which refers to a directory file, and a name in that
- directory, this should return in COMPOSITE the composite name refering to
+ directory, this should return in COMPOSITE the composite name referring to
that name in that directory, in malloced storage. */
error_t
ftp_conn_unix_append_name (struct ftp_conn *conn,