patch from vicman to publish less platform information

svn:r1111
This commit is contained in:
Roger Dingledine 2004-02-18 21:23:50 +00:00
parent 8c1ee2f2d2
commit f202d38191

View File

@ -683,8 +683,8 @@ get_uname(void)
if (!uname_result_is_set) {
#ifdef HAVE_UNAME
if (!uname((&u))) {
snprintf(uname_result, 255, "%s %s %s %s %s",
u.sysname, u.nodename, u.release, u.version, u.machine);
snprintf(uname_result, 255, "%s %s %s",
u.sysname, u.nodename, u.machine);
uname_result[255] = '\0';
} else
#endif