[or-cvs] when a begin cell has an invalid port, give us a better hin...
Roger Dingledine
arma at seul.org
Sun Oct 10 01:47:26 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
connection_edge.c
Log Message:
when a begin cell has an invalid port, give us a better hint of
what went wrong
Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_edge.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- connection_edge.c 27 Sep 2004 06:00:43 -0000 1.210
+++ connection_edge.c 10 Oct 2004 01:47:24 -0000 1.211
@@ -758,7 +758,7 @@
*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;
}
More information about the tor-commits
mailing list