|
@@ -1054,10 +1054,11 @@ tor_timegm(struct tm *tm)
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
static const char *WEEKDAY_NAMES[] =
|
|
|
{ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
|
|
|
-
|
|
|
+
|
|
|
static const char *MONTH_NAMES[] =
|
|
|
{ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
|
|
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
|
|
@@ -1341,9 +1342,10 @@ update_approx_time(time_t now)
|
|
|
* have up to <b>ftime_slop</b> seconds of inaccuracy; IOW, our window of
|
|
|
* estimate for the current time is now + ftime_skew +/- ftime_slop.
|
|
|
*/
|
|
|
-
|
|
|
+
|
|
|
+ * closest to time(NULL)+ftime_skew. */
|
|
|
static int ftime_skew = 0;
|
|
|
-
|
|
|
+
|
|
|
static int ftime_slop = 60;
|
|
|
|
|
|
* comparisons. */
|