Commit bbfc498e authored by Nick Mathewson's avatar Nick Mathewson 🐛
Browse files

Merge branch 'maint-0.4.1' into maint-0.4.2

parents 2d34d4d1 a02e8666
o Minor bugfixes (compiler warnings):
- Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix on
0.4.0.3-alpha.
......@@ -1066,8 +1066,9 @@ sr_state_set_valid_after(time_t valid_after)
sr_phase_t
sr_state_get_phase(void)
{
void *ptr;
void *ptr=NULL;
state_query(SR_STATE_ACTION_GET, SR_STATE_OBJ_PHASE, NULL, &ptr);
tor_assert(ptr);
return *(sr_phase_t *) ptr;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment