From 1bf56b452e5b28020e7acf2f00caa03645b49c52 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 5 Dec 2005 01:30:11 +0000 Subject: Remove superfluous strdup svn:r5503 --- src/common/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/util.c') diff --git a/src/common/util.c b/src/common/util.c index f3931c828..7baf6643d 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) : "", (int)st.st_uid); + pw ? pw->pw_name : "", (int)st.st_uid); tor_free(process_ownername); return -1; -- cgit v1.2.3