Fix sparse warnings and add an extra sprinkling of const.
[tinc] / src / protocol.c
index 9d7c349..5de30d7 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;