X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.c;h=fd908949b6fa13bb6ab49a7640169504680ed338;hb=434e57ae5ee79b3d990c4d75358047bad641998b;hp=230ee3b8290579c2d7d1be98210719a599f01cab;hpb=f4010694b3b16453e5e6298c208910264e326978;p=tinc diff --git a/src/protocol.c b/src/protocol.c index 230ee3b8..fd908949 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -178,7 +178,7 @@ static void free_past_request(past_request_t *r) { static struct event past_request_event; bool seen_request(char *request) { - past_request_t *new, p = {0}; + past_request_t *new, p = {NULL}; p.request = request;