[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] bugfix: stop trying to print a null pointer if an OR conn f...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] bugfix: stop trying to print a null pointer if an OR conn f...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Mon, 25 Apr 2005 11:43:40 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 25 Apr 2005 11:44:03 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
circuitbuild.c
Log Message:
bugfix: stop trying to print a null pointer if an OR conn fails
because we didn't like its cert.
Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- circuitbuild.c 7 Apr 2005 21:07:18 -0000 1.107
+++ circuitbuild.c 25 Apr 2005 15:43:37 -0000 1.108
@@ -346,7 +346,8 @@
void circuit_n_conn_done(connection_t *or_conn, int status) {
circuit_t *circ;
- log_fn(LOG_DEBUG,"or_conn to %s, status=%d", or_conn->nickname, status);
+ log_fn(LOG_DEBUG,"or_conn to %s, status=%d",
+ or_conn->nickname ? or_conn->nickname : "NULL", status);
for (circ=global_circuitlist;circ;circ = circ->next) {
if (circ->marked_for_close)