diff --git a/scripts/common.m4 b/scripts/common.m4 index efd086b5..bec91f02 100644 --- a/scripts/common.m4 +++ b/scripts/common.m4 @@ -142,7 +142,7 @@ AC_DEFUN([TORRENT_MINCORE_SIGNEDNESS], [ AC_MSG_RESULT(signed) ], [ - AC_MSG_ERROR([failed, do *not* attempt to use --disable-mincore unless you are running Win32.]) + AC_MSG_ERROR([failed, do *not* attempt fix this with --disable-mincore unless you are running Win32.]) ]) ]) @@ -183,7 +183,7 @@ AC_DEFUN([TORRENT_CHECK_MADVISE], [ AC_DEFUN([TORRENT_CHECK_EXECINFO], [ AC_MSG_CHECKING(for execinfo.h) - AC_COMPILE_IFELSE( + AC_RUN_IFELSE( [[#include int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} ]], diff --git a/src/ui/download.cc b/src/ui/download.cc index cf32c748..3f49ddb9 100644 --- a/src/ui/download.cc +++ b/src/ui/download.cc @@ -160,9 +160,8 @@ Download::create_info() { element->push_back(""); element->push_column("Chunks:", te_command("cat=$d.get_completed_chunks=,\" / \",$d.get_size_chunks=,\" * \",$d.get_chunk_size=")); element->push_column("Priority:", te_command("d.get_priority=")); -// element->push_column("Peer exchange:", te_command("cat=$if=$d.get_peer_exchange=\\,enabled\\,disabled,\\ (,$d.get_size_pex=,/,$d.get_max_size_pex=,)")); element->push_column("Peer exchange:", te_command("cat=$if=$d.get_peer_exchange=\\,enabled\\,disabled,\\ ," - "$if=$d.is_pex_active=\\,active\\,inactive," + "$if=$d.is_pex_active=\\,active\\,$d.is_private=\\,private\\,inactive," "\\ (,$d.get_size_pex=,/,$d.get_max_size_pex=,)")); element->push_column("State changed:", te_command("to_elapsed_time=$d.get_state_changed="));