Initialize variables in protocol.c

This commit is contained in:
thorkill 2015-06-30 19:26:42 +02:00
parent 0bd116195a
commit fb1a8fd631

View file

@ -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;