This commit is contained in:
arvidn 2015-06-20 16:42:18 -04:00
parent 3755a77a64
commit ad8971d6da
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ std::string demangle(char const* name)
#include "windows.h"
#include "dbghelp.h"
std::string demangle(char const* name)
std::string demangle(char const* name)
{
char demangled_name[256];
if (UnDecorateSymbolName(name, demangled_name, sizeof(demangled_name), UNDNAME_NO_THROW_SIGNATURES) == 0)
@ -209,7 +209,7 @@ TORRENT_EXPORT void print_backtrace(char* out, int len, int max_depth)
TORRENT_EXPORT void print_backtrace(char* out, int len, int max_depth)
{
out[0] = 0;
strncat(out, "<not supported>", len)
strncat(out, "<not supported>", len);
}
#endif

View File

@ -7220,7 +7220,7 @@ namespace libtorrent
v.push_back(peer_info());
peer_info& p = v.back();
peer->get_peer_info(p);
#ifndef TORRENT_DISABLE_RESOLVE_COUNTRIES
if (resolving_countries())