aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-04-06 21:11:05 +0000
committerRoger Dingledine <arma@torproject.org>2005-04-06 21:11:05 +0000
commit8aa0df56f65c2b30839361c7b373598a0e127826 (patch)
tree5bf59b6e32356d92fd1f97170af6ca2582bedb9e /src/common/compat.c
parent7709547c08709cfdbd5866a3dc0c73c0a6925346 (diff)
downloadtor-8aa0df56f65c2b30839361c7b373598a0e127826.tar
tor-8aa0df56f65c2b30839361c7b373598a0e127826.tar.gz
Stop putting nodename in the Platform string of server descriptors.
It doesn't actually help, and it is confusing/upsetting some people. svn:r4037
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index c1366a91a..75e5db8cc 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -605,8 +605,8 @@ get_uname(void)
#ifdef HAVE_UNAME
if (uname(&u) != -1) {
/* (linux says 0 is success, solaris says 1 is success) */
- tor_snprintf(uname_result, sizeof(uname_result), "%s %s %s",
- u.sysname, u.nodename, u.machine);
+ tor_snprintf(uname_result, sizeof(uname_result), "%s %s",
+ u.sysname, u.machine);
} else
#endif
{