torcontrol debug: Change to a blanket message that covers both cases

This commit is contained in:
MarcoFalke 2015-12-15 17:03:08 +01:00
parent 3cd836c1d8
commit fa8c8d7fa6

View File

@ -618,7 +618,7 @@ void TorController::disconnected_cb(TorControlConnection& conn)
if (!reconnect) if (!reconnect)
return; return;
LogPrint("tor", "tor: Disconnected from Tor control port %s, trying to reconnect\n", target); LogPrint("tor", "tor: Not connected to Tor control port %s, trying to reconnect\n", target);
// Single-shot timer for reconnect. Use exponential backoff. // Single-shot timer for reconnect. Use exponential backoff.
struct timeval time = MillisToTimeval(int64_t(reconnect_timeout * 1000.0)); struct timeval time = MillisToTimeval(int64_t(reconnect_timeout * 1000.0));