[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17406: {tor} clean up some log messages (tor/trunk/src/or)



Author: arma
Date: 2008-11-29 06:55:30 -0500 (Sat, 29 Nov 2008)
New Revision: 17406

Modified:
   tor/trunk/src/or/main.c
   tor/trunk/src/or/rendclient.c
Log:
clean up some log messages


Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2008-11-29 11:26:26 UTC (rev 17405)
+++ tor/trunk/src/or/main.c	2008-11-29 11:55:30 UTC (rev 17406)
@@ -140,8 +140,8 @@
               conn_write_callback, conn);
   }
 
-  log_debug(LD_NET,"new conn type %s, socket %d, n_conns %d.",
-            conn_type_to_string(conn->type), conn->s,
+  log_debug(LD_NET,"new conn type %s, socket %d, address %s, n_conns %d.",
+            conn_type_to_string(conn->type), conn->s, conn->address,
             smartlist_len(connection_array));
 
   return 0;

Modified: tor/trunk/src/or/rendclient.c
===================================================================
--- tor/trunk/src/or/rendclient.c	2008-11-29 11:26:26 UTC (rev 17405)
+++ tor/trunk/src/or/rendclient.c	2008-11-29 11:55:30 UTC (rev 17406)
@@ -425,7 +425,7 @@
                     "directory '%s' on port %d.",
            rend_query->onion_address, desc_id_base32,
            rend_query->auth_type,
-           (rend_query->auth_type == REND_NO_AUTH ? "NULL" :
+           (rend_query->auth_type == REND_NO_AUTH ? "[none]" :
            escaped_safe_str(descriptor_cookie_base64)),
            hs_dir->nickname, hs_dir->dir_port);
   return 1;