mirror of
https://github.com/urbit/ares.git
synced 2024-11-22 15:08:54 +03:00
pma: initialize state->which to 0 in bt_state_open
This commit is contained in:
parent
0ec984663c
commit
9a8229837d
@ -2577,7 +2577,6 @@ bt_state_new(BT_state **state)
|
||||
BT_state *s = calloc(1, sizeof *s);
|
||||
s->data_fd = -1;
|
||||
s->fixaddr = BT_MAPADDR;
|
||||
s->which = -1;
|
||||
*state = s;
|
||||
return BT_SUCC;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user