]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix two pre-coffee typos
authorPeter Palfrader <peter@palfrader.org>
Mon, 15 Jul 2013 13:08:35 +0000 (15:08 +0200)
committerNick Mathewson <nickm@torproject.org>
Mon, 15 Jul 2013 13:43:37 +0000 (09:43 -0400)
src/common/compat.c
src/or/connection.c

index 391f175c421de2d173cccc4931bf2fda0e7669c2..0e943f38fe59375018b5da76f9c371394e27fcbe 100644 (file)
@@ -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)
index edcf966e75065312a4204355d1e34791cdb13812..6a3cc7bec4c7d404496d488c904813fc8d43634e 100644 (file)
@@ -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;
   }