[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tlsdate/debian-master] We care about the resulting server_time_s rather than time_map being 0



commit 1ad5c8389f5592fe600c518f61bc8354f40ed18a
Author: Jacob Appelbaum <jacob@xxxxxxxxxxxxx>
Date:   Fri Apr 26 19:40:23 2013 -0700

    We care about the resulting server_time_s rather than time_map being 0
---
 src/tlsdate-helper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tlsdate-helper.c b/src/tlsdate-helper.c
index 311a377..35d6779 100644
--- a/src/tlsdate-helper.c
+++ b/src/tlsdate-helper.c
@@ -1191,7 +1191,7 @@ main(int argc, char **argv)
 #endif
   // We should never have a time_map of zero here;
   // It either stayed zero or we have a false ticker.
-  if (0 == time_map)
+  if ( 0 == server_time_s )
     die ("child process failed to update time map; weird platform issues?\n");
   munmap (time_map, sizeof (uint32_t));
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits