summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-07-15 15:08:35 +0200
committerNick Mathewson <nickm@torproject.org>2013-07-15 09:43:37 -0400
commit2cb59be9993ecec13ceabc0c4754e52f8c5ea4e5 (patch)
tree3b85f7f0d5d8a16ef0724f47b003c4ca10a2fc28 /src
parentc9cb5a18fcb02b66bed5b5766e61eb2bf99a0f0c (diff)
downloadtor-2cb59be9993ecec13ceabc0c4754e52f8c5ea4e5.tar.gz
tor-2cb59be9993ecec13ceabc0c4754e52f8c5ea4e5.zip
Fix two pre-coffee typos
Diffstat (limited to 'src')
-rw-r--r--src/common/compat.c2
-rw-r--r--src/or/connection.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 391f175c42..0e943f38fe 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1754,7 +1754,7 @@ get_user_homedir(const char *username)
* them for purposes of finding the parent directory.
*
* Returns 0 if a parent directory was successfully found, -1 otherwise (fname
- * did not have any path separators or only had them ad the end).
+ * did not have any path separators or only had them at the end).
* */
int
get_parent_directory(char *fname)
diff --git a/src/or/connection.c b/src/or/connection.c
index edcf966e75..6a3cc7bec4 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -879,7 +879,7 @@ check_location_for_unix_socket(const or_options_t *options, const char *path)
cpd_check_t flags = CPD_CHECK_MODE_ONLY;
if (get_parent_directory(p)<0 || p[0] != '/') {
log_warn(LD_GENERAL, "Bad unix socket address '%s'. Tor does not support "
- "relative patchs for unix sockets.", path);
+ "relative paths for unix sockets.", path);
goto done;
}