diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-12-05 01:30:11 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-12-05 01:30:11 +0000 |
commit | 1bf56b452e5b28020e7acf2f00caa03645b49c52 (patch) | |
tree | 39dec8de36e36c2a900e1084f99475c0c91b227e /src/common | |
parent | 7a70a142f434c0778fda8a87917c545d4d081527 (diff) | |
download | tor-1bf56b452e5b28020e7acf2f00caa03645b49c52.tar.gz tor-1bf56b452e5b28020e7acf2f00caa03645b49c52.zip |
Remove superfluous strdup
svn:r5503
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index f3931c8282..7baf6643dc 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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; |