mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove superfluous strdup
svn:r5503
This commit is contained in:
+1
-1
@@ -923,7 +923,7 @@ check_private_dir(const char *dirname, cpd_check_t check)
|
||||
|
||||
log(LOG_WARN, LD_FS, "%s is not owned by this user (%s, %d) but by %s (%d). Perhaps you are running Tor as the wrong user?",
|
||||
dirname, process_ownername, (int)getuid(),
|
||||
pw ? tor_strdup(pw->pw_name) : "<unknown>", (int)st.st_uid);
|
||||
pw ? pw->pw_name : "<unknown>", (int)st.st_uid);
|
||||
|
||||
tor_free(process_ownername);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user