[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] be consistent about printing out key digest $"s when we"re ...
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
connection_or.c
Log Message:
be consistent about printing out key digest $'s when we're getting a
different key than we expect
Index: connection_or.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_or.c,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- connection_or.c 17 Jul 2005 21:43:47 -0000 1.181
+++ connection_or.c 19 Jul 2005 21:26:24 -0000 1.182
@@ -526,7 +526,7 @@
if (strcasecmp(d,conn->nickname+1)) {
log_fn(severity,
"Identity key not as expected for router at %s:%d: wanted %s but got %s",
- conn->address, conn->port, conn->nickname, d);
+ conn->address, conn->port, conn->nickname+1, d);
control_event_or_conn_status(conn, OR_CONN_EVENT_FAILED);
as_advertised = 0;
}