[or-cvs] r17205: {tor} while we're cleaning code, get rid of some unreachable code (tor/trunk/src/common)
arma at seul.org
arma at seul.org
Fri Nov 7 04:35:41 UTC 2008
Author: arma
Date: 2008-11-06 23:35:41 -0500 (Thu, 06 Nov 2008)
New Revision: 17205
Modified:
tor/trunk/src/common/compat.c
Log:
while we're cleaning code, get rid of some unreachable code at
the bottom of switch_id
Modified: tor/trunk/src/common/compat.c
===================================================================
--- tor/trunk/src/common/compat.c 2008-11-07 04:34:47 UTC (rev 17204)
+++ tor/trunk/src/common/compat.c 2008-11-07 04:35:41 UTC (rev 17205)
@@ -1126,11 +1126,11 @@
#else
(void)user;
-#endif
log_warn(LD_CONFIG,
"User specified but switching users is unsupported on your OS.");
return -1;
+#endif
}
#ifdef HAVE_PWD_H
More information about the tor-commits
mailing list