summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/main.c4
-rw-r--r--src/or/rendclient.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c
index c40e19ec07..459d347bbd 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -140,8 +140,8 @@ connection_add(connection_t *conn)
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;
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index d3c8523c4c..3f0068cf74 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -425,7 +425,7 @@ directory_get_from_hs_dir(const char *desc_id, const rend_data_t *rend_query)
"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;