mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix two pre-coffee typos
This commit is contained in:
parent
c9cb5a18fc
commit
2cb59be999
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user