[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [tor/master] Fix compile on freebsd
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Fri, 18 Sep 2009 02:43:45 +0200
Subject: Fix compile on freebsd
Commit: 335b67a354647e4308c1c464c56a5427d71822d5
---
src/or/circuitbuild.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 5ea3a31..c00f77c 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -638,7 +638,7 @@ circuit_build_times_is_network_live(circuit_build_times_t *cbt)
if (now - cbt->network_last_live >
(cbt->timeout*NETWORK_LIVE_MULTIPLIER)) {
log_info(LD_CIRC, "Network is no longer live. Dead for %ld seconds.",
- now - cbt->network_last_live);
+ (long int)(now - cbt->network_last_live));
return 0;
}
return 1;
--
1.5.6.5