channel state fix

This commit is contained in:
Arvid Norberg 2011-10-27 08:42:51 +00:00
parent 602e0089f9
commit becd714bc8
1 changed files with 1 additions and 1 deletions

View File

@ -5773,7 +5773,7 @@ namespace libtorrent
// if the last send has not completed yet, do not send a keep
// alive
if (m_channel_state[upload_channel] != peer_info::bw_idle) return;
if (m_channel_state[upload_channel] & peer_info::bw_network) return;
#ifdef TORRENT_VERBOSE_LOGGING
peer_log("==> KEEPALIVE");