[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] tell us what kind of listener it is, too
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
connection.c
Log Message:
tell us what kind of listener it is, too
Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.385
retrieving revision 1.386
diff -u -d -r1.385 -r1.386
--- connection.c 14 Jul 2005 23:04:31 -0000 1.385
+++ connection.c 14 Jul 2005 23:07:05 -0000 1.386
@@ -813,7 +813,8 @@
if (force) {
/* It's a listener, and we're relaunching all listeners of this
* type. Close this one. */
- log_fn(LOG_NOTICE, "Closing listener on %s:%d", conn->address, conn->port);
+ log_fn(LOG_NOTICE, "Closing %s on %s:%d",
+ conn_type_to_string(type), conn->address, conn->port);
connection_close_immediate(conn);
connection_mark_for_close(conn);
continue;
@@ -835,12 +836,14 @@
});
if (! line) {
/* This one isn't configured. Close it. */
- log_fn(LOG_NOTICE, "Closing listener on %s:%d", conn->address, conn->port);
+ log_fn(LOG_NOTICE, "Closing %s on %s:%d",
+ conn_type_to_string(type), conn->address, conn->port);
connection_close_immediate(conn);
connection_mark_for_close(conn);
} else {
/* It's configured; we don't need to launch it. */
- log_fn(LOG_INFO, "Already have listener on %s:%d",conn->address,conn->port);
+ log_fn(LOG_INFO, "Already have %s on %s:%d",
+ conn_type_to_string(type), conn->address, conn->port);
smartlist_remove(launch, line);
}
}