mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
patch from vicman to publish less platform information
svn:r1111
This commit is contained in:
parent
8c1ee2f2d2
commit
f202d38191
@ -683,8 +683,8 @@ get_uname(void)
|
|||||||
if (!uname_result_is_set) {
|
if (!uname_result_is_set) {
|
||||||
#ifdef HAVE_UNAME
|
#ifdef HAVE_UNAME
|
||||||
if (!uname((&u))) {
|
if (!uname((&u))) {
|
||||||
snprintf(uname_result, 255, "%s %s %s %s %s",
|
snprintf(uname_result, 255, "%s %s %s",
|
||||||
u.sysname, u.nodename, u.release, u.version, u.machine);
|
u.sysname, u.nodename, u.machine);
|
||||||
uname_result[255] = '\0';
|
uname_result[255] = '\0';
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user