diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2009-09-18 02:43:45 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2009-09-18 02:43:45 +0200 |
commit | 335b67a354647e4308c1c464c56a5427d71822d5 (patch) | |
tree | bf13fb87a25094b0a325d570fe61d54f8ab88083 /src | |
parent | 67f280feb361ce5f5c0784e56e94cae87b917bba (diff) | |
download | tor-335b67a354647e4308c1c464c56a5427d71822d5.tar.gz tor-335b67a354647e4308c1c464c56a5427d71822d5.zip |
Fix compile on freebsd
Diffstat (limited to 'src')
-rw-r--r-- | 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 5ea3a31afe..c00f77caf8 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; |