From 3ca507a6eb1cecbf40a907a52c27128efb666ec0 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Mon, 21 Jun 2010 01:33:44 +0000 Subject: fixed colors on ubuntu lucid, enabled -O2 in makefile.unix, boost removed -mt from their library names in 1.40, updated bitcoin icon, hashmeter, generated and hashmeter log entries -- version 0.2.13 --- net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.cpp') diff --git a/net.cpp b/net.cpp index 7539066dab..3c5c9bd3cb 100644 --- a/net.cpp +++ b/net.cpp @@ -965,7 +965,7 @@ void ThreadOpenConnections2(void* parg) int64 nSinceLastTry = GetAdjustedTime() - addr.nLastTry; // Randomize the order in a deterministic way, putting the standard port first - int64 nRandomizer = (uint64)(nStart + addr.nLastTry * 9567851 + addr.ip * 7789) % (2 * 60 * 60); + int64 nRandomizer = (uint64)(nStart * 4951 + addr.nLastTry * 9567851 + addr.ip * 7789) % (2 * 60 * 60); if (addr.port != DEFAULT_PORT) nRandomizer += 2 * 60 * 60; -- cgit v1.2.3