diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve.c b/src/resolve.c index 6848a11..a054290 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -71,6 +71,7 @@ static void* resolve_peer(void *varg) { } fastd_resolve_return ret; + memset(&ret, 0, sizeof(ret)); ret.hostname = arg->hostname; ret.constraints = arg->constraints; |