From da0f992c476ec2a17379246670bfbb0f1c957fcb Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 25 Sep 2011 23:42:56 +0000 Subject: [PATCH] fix logging build --- src/torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index d18f60713..336b9b808 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -1549,7 +1549,7 @@ ctx->set_verify_callback(verify_function, ec); { #if defined TORRENT_LOGGING (*m_ses.m_logger) << time_now_string() << " CLOSING CONNECTION " - << p->remote() << " policy::new_connection returned false (i.e. peer list full)\n"; + << c->remote() << " policy::new_connection returned false (i.e. peer list full)\n"; #endif c->disconnect(errors::too_many_connections); return;