Prechádzať zdrojové kódy

Stop putting nodename in the Platform string of server descriptors.
It doesn't actually help, and it is confusing/upsetting some people.


svn:r4037

Roger Dingledine 20 rokov pred
rodič
commit
8aa0df56f6
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/common/compat.c

+ 2 - 2
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
       {