summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-21 12:11:23 -0800
committerJeremy Allison <jra@samba.org>2007-12-21 12:11:23 -0800
commit0c3f431abaf2f33e11f74cbc868b5e1da255bfff (patch)
treed7283191ebefd21cf0bda17acbb4662c3df454dc /source3
parentb3e50fecbc5a3b510a43d739c036469460201c1a (diff)
downloadsamba-0c3f431abaf2f33e11f74cbc868b5e1da255bfff.tar.gz
samba-0c3f431abaf2f33e11f74cbc868b5e1da255bfff.tar.bz2
samba-0c3f431abaf2f33e11f74cbc868b5e1da255bfff.zip
Fix initialization warnings.
Jeremy. (This used to be commit 832c093830cb3978641be3d87670fa900105da25)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/socket_wrapper/socket_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/socket_wrapper/socket_wrapper.c b/source3/lib/socket_wrapper/socket_wrapper.c
index a84c460114..5b8052e5ed 100644
--- a/source3/lib/socket_wrapper/socket_wrapper.c
+++ b/source3/lib/socket_wrapper/socket_wrapper.c
@@ -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;