diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2017-01-26 00:52:23 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2017-01-26 00:52:23 +0000 |
commit | c9bd62f520307f6132a2cfc4cecf6ede8c73301b (patch) | |
tree | be70a9c8af25e7a93966567b15e23784c4c09d4f /usr.sbin/ocspcheck | |
parent | ead42a7d805ded4ee2709221c4556fe194becbc0 (diff) |
Fix the structure initialzation to compile. bad inioguchi and millert :)
ok jsing@ rpe@
Diffstat (limited to 'usr.sbin/ocspcheck')
-rw-r--r-- | usr.sbin/ocspcheck/ocspcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ocspcheck/ocspcheck.c b/usr.sbin/ocspcheck/ocspcheck.c index 1483081f88a..38ec5a0eccb 100644 --- a/usr.sbin/ocspcheck/ocspcheck.c +++ b/usr.sbin/ocspcheck/ocspcheck.c @@ -505,7 +505,7 @@ main (int argc, char **argv) { char *host = NULL, *path = "/", *certfile = NULL, *outfile = NULL, *cafile = NULL; - struct addr addrs[MAX_SERVERS_DNS] = {0}; + struct addr addrs[MAX_SERVERS_DNS] = {{0}}; struct source sources[MAX_SERVERS_DNS]; int i, ch, staplefd = -1, nonce = 1; ocsp_request *request = NULL; |