when a begin cell has an invalid port, give us a better hint of

what went wrong


svn:r2435
This commit is contained in:
Roger Dingledine 2004-10-10 01:47:24 +00:00
parent 64ff06ffe3
commit 6468e049be

View File

@ -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;
}