diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp
index cdad6a7b9..7dbef4381 100755
--- a/src/peer_connection.cpp
+++ b/src/peer_connection.cpp
@@ -1822,8 +1822,6 @@ namespace libtorrent
}
}
- m_statistics.second_tick(tick_interval);
-
// If the client sends more data
// we send it data faster, otherwise, slower.
// It will also depend on how much data the
diff --git a/test/Jamfile b/test/Jamfile
index 6568ce48c..6d20ad236 100644
--- a/test/Jamfile
+++ b/test/Jamfile
@@ -3,16 +3,23 @@ use-project /torrent : .. ;
exe test_upnp : test_upnp.cpp /torrent//torrent
: static multi verbose on ;
-project
- : requirements
+lib test_common
+ :
+ main.cpp
+ setup_transfer.cpp
+ :
+ static
+ :
multi
/torrent//torrent
-