Fix initialization warnings.
authorJeremy Allison <jra@samba.org>
Fri, 21 Dec 2007 20:11:23 +0000 (12:11 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 21 Dec 2007 20:11:23 +0000 (12:11 -0800)
Jeremy.
(This used to be commit 832c093830cb3978641be3d87670fa900105da25)

source3/lib/socket_wrapper/socket_wrapper.c

index a84c460114779296b2dba66908de551041a27cca..5b8052e5ed69f6a97f7e8ae010992d3bbc0cd918 100644 (file)
@@ -572,7 +572,7 @@ static const char *socket_wrapper_pcap_file(void)
        static int initialized = 0;
        static const char *s = NULL;
        static const struct swrap_file_hdr h = { 0, };
-       static const struct swrap_packet p = { 0, };
+       static const struct swrap_packet p = { { 0, }, { { 0, }, { { 0, } } } };
 
        if (initialized == 1) {
                return s;