fixed typo in verbose logging code

This commit is contained in:
Arvid Norberg 2012-06-09 00:42:38 +00:00
parent e94963d085
commit 74ed648894
1 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ namespace libtorrent { namespace
lazy_entry const* p6 = pex_msg.dict_find("dropped6"); lazy_entry const* p6 = pex_msg.dict_find("dropped6");
#ifdef TORRENT_VERBOSE_LOGGING #ifdef TORRENT_VERBOSE_LOGGING
if (p6) num_dropped += p->string_length() / 18; if (p6) num_dropped += p6->string_length() / 18;
#endif #endif
if (p6 != 0 && p6->type() == lazy_entry::string_t) if (p6 != 0 && p6->type() == lazy_entry::string_t)
{ {
@ -378,7 +378,7 @@ namespace libtorrent { namespace
p6 = pex_msg.dict_find("added6"); p6 = pex_msg.dict_find("added6");
#ifdef TORRENT_VERBOSE_LOGGING #ifdef TORRENT_VERBOSE_LOGGING
if (p6) num_added += p->string_length() / 18; if (p6) num_added += p6->string_length() / 18;
#endif #endif
lazy_entry const* p6f = pex_msg.dict_find("added6.f"); lazy_entry const* p6f = pex_msg.dict_find("added6.f");
if (p6 != 0 if (p6 != 0