Initialize variables in protocol.c
This commit is contained in:
parent
0bd116195a
commit
fb1a8fd631
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@ static void age_past_requests(void *data) {
|
|||
}
|
||||
|
||||
bool seen_request(const char *request) {
|
||||
past_request_t *new, p = {NULL};
|
||||
past_request_t *new, p;
|
||||
memset(&p, 0x0, sizeof(past_request_t));
|
||||
|
||||
p.request = request;
|
||||
|
||||
|
|
Loading…
Reference in a new issue