mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'maint-0.3.2'
This commit is contained in:
@@ -971,12 +971,12 @@ helper_init_service(time_t now)
|
||||
|
||||
/* Helper function to set the RFC 1123 time string into t. */
|
||||
static void
|
||||
set_consensus_times(const char *time, time_t *t)
|
||||
set_consensus_times(const char *timestr, time_t *t)
|
||||
{
|
||||
tt_assert(time);
|
||||
tt_assert(timestr);
|
||||
tt_assert(t);
|
||||
|
||||
int ret = parse_rfc1123_time(time, t);
|
||||
int ret = parse_rfc1123_time(timestr, t);
|
||||
tt_int_op(ret, OP_EQ, 0);
|
||||
|
||||
done:
|
||||
|
||||
Reference in New Issue
Block a user