From: Roger Dingledine Date: Sun, 10 Oct 2004 01:47:24 +0000 (+0000) Subject: when a begin cell has an invalid port, give us a better hint of X-Git-Tag: debian-version-0.0.8+0.0.9pre2-1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6468e049be8e17d012068d2cdaa0272bcfd8a2a7;p=thirdparty%2Ftor.git when a begin cell has an invalid port, give us a better hint of what went wrong svn:r2435 --- diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 7aee5fa633..40669a555e 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; }