diff options
author | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2017-01-25 16:53:22 +0000 |
---|---|---|
committer | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2017-01-25 16:53:22 +0000 |
commit | fb34f730610f368d97d9636e7f5714656e624c8c (patch) | |
tree | 7b26ea383bf4103cb78cea6464a6e5cc1cf86c30 | |
parent | d44640ffa7df79fbffd00e4e8f004d2ce2b4f071 (diff) |
Fix array initialization syntax for ocspcheck.c
Conformance to C99, and avoiding build break on VisualStudio and HP-UX.
OK millert@
-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 252e8997f73..1483081f88a 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] = { }; + struct addr addrs[MAX_SERVERS_DNS] = {0}; struct source sources[MAX_SERVERS_DNS]; int i, ch, staplefd = -1, nonce = 1; ocsp_request *request = NULL; |