[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix windows compilation warnings in hs_service.c
commit eacfd2911274a7f6676509fc8173b66bd1264bc2
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Mar 23 17:47:56 2018 -0400
Fix windows compilation warnings in hs_service.c
These were breaking jenkins builds. Bugfix on 5804ccc9070dc54;
bug not in any released Tor.
---
src/or/hs_service.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 169ba0dfc..6fa9ec6b1 100644
--- a/src/or/hs_service.c
+++ b/src/or/hs_service.c
@@ -1954,7 +1954,9 @@ should_rotate_descriptors(hs_service_t *service, time_t now)
"time is %ld (now: %ld). Valid after time from "
"consensus is %ld",
service->desc_current, service->desc_next,
- service->state.next_rotation_time, now, ns->valid_after);
+ (long)service->state.next_rotation_time,
+ (long)now,
+ (long)ns->valid_after);
goto no_rotation;
}
goto rotation;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits