diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-10 01:47:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-10 01:47:24 +0000 |
commit | 6468e049be8e17d012068d2cdaa0272bcfd8a2a7 (patch) | |
tree | 380d039bc8104928d12e7ecb8a2dbc0b62d01318 /src/or | |
parent | 64ff06ffe3ba7ce576adbf2eaefa98b6dfddc9f9 (diff) | |
download | tor-6468e049be8e17d012068d2cdaa0272bcfd8a2a7.tar tor-6468e049be8e17d012068d2cdaa0272bcfd8a2a7.tar.gz |
when a begin cell has an invalid port, give us a better hint of
what went wrong
svn:r2435
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 7aee5fa63..40669a555 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -758,7 +758,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ) { *colon = 0; if(!atoi(colon+1)) { /* bad port */ - log_fn(LOG_WARN,"relay begin cell has invalid port. Dropping."); + log_fn(LOG_WARN,"relay begin cell has invalid port '%s'. Dropping.", colon+1); return 0; } |