Fix sparse warnings and add an extra sprinkling of const.
[oweals/tinc.git] / src / protocol.c
index 9d7c349ffb764d401bf96d93ecba1652e59259cf..5de30d7d6ce0123b588a6c0bdcd708f88b796fa7 100644 (file)
@@ -189,7 +189,7 @@ void exit_requests(void) {
 }
 
 bool seen_request(char *request) {
-       past_request_t *new, p = {0};
+       past_request_t *new, p = {NULL};
 
        p.request = request;