[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16256 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16256 - gnunet/src/util |
Date: |
Thu, 28 Jul 2011 18:33:44 +0200 |
Author: nevans
Date: 2011-07-28 18:33:44 +0200 (Thu, 28 Jul 2011)
New Revision: 16256
Modified:
gnunet/src/util/program.c
gnunet/src/util/service.c
Log:
set clock offset
Modified: gnunet/src/util/program.c
===================================================================
--- gnunet/src/util/program.c 2011-07-28 11:49:34 UTC (rev 16255)
+++ gnunet/src/util/program.c 2011-07-28 16:33:44 UTC (rev 16256)
@@ -236,6 +236,7 @@
(GNUNET_OK == GNUNET_CONFIGURATION_get_value_number(cc.cfg, "testing",
"skew_variance", &skew_variance)))
{
clock_offset = skew_offset - skew_variance;
+ GNUNET_TIME_set_offset(clock_offset);
}
/* run */
cc.args = &argv[ret];
Modified: gnunet/src/util/service.c
===================================================================
--- gnunet/src/util/service.c 2011-07-28 11:49:34 UTC (rev 16255)
+++ gnunet/src/util/service.c 2011-07-28 16:33:44 UTC (rev 16256)
@@ -1630,6 +1630,7 @@
(GNUNET_OK == GNUNET_CONFIGURATION_get_value_number(sctx.cfg, "testing",
"skew_variance", &skew_variance)))
{
clock_offset = skew_offset - skew_variance;
+ GNUNET_TIME_set_offset(clock_offset);
#if DEBUG_SERVICE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Skewing clock by %dll\n",
clock_offset);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16256 - gnunet/src/util,
gnunet <=