mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Stop putting nodename in the Platform string of server descriptors.
It doesn't actually help, and it is confusing/upsetting some people. svn:r4037
This commit is contained in:
parent
7709547c08
commit
8aa0df56f6
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user