mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Merge branch 'bug34077_041' into maint-0.4.1
This commit is contained in:
commit
a02e866642
3
changes/bug34077
Normal file
3
changes/bug34077
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (compiler warnings):
|
||||
- Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix on
|
||||
0.4.0.3-alpha.
|
@ -1057,8 +1057,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user