summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-21 12:11:23 -0800
committerStefan Metzmacher <metze@samba.org>2008-06-10 09:13:32 +0200
commit85087ce095499dbadc5e9e394c22b08e6206a6f2 (patch)
tree3d18fa0920b7fb04f79dc33fb4db63a63031321c /source4/lib/socket_wrapper
parentc8100b48d1a747b589779a129324e49590167ae8 (diff)
downloadsamba-85087ce095499dbadc5e9e394c22b08e6206a6f2.tar.gz
samba-85087ce095499dbadc5e9e394c22b08e6206a6f2.tar.bz2
samba-85087ce095499dbadc5e9e394c22b08e6206a6f2.zip
Fix initialization warnings.
Jeremy. (cherry picked from commit 832c093830cb3978641be3d87670fa900105da25) (This used to be commit 3a4198b1181d6b97804afebbb91dac5a8242f615)
Diffstat (limited to 'source4/lib/socket_wrapper')
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index 22186872d6..336179d837 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/lib/socket_wrapper/socket_wrapper.c
@@ -698,7 +698,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;