git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e50fe
)
Fix initialization warnings.
author
Jeremy Allison
<jra@samba.org>
Fri, 21 Dec 2007 20:11:23 +0000
(12:11 -0800)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/source3/lib/socket_wrapper/socket_wrapper.c
b/source3/lib/socket_wrapper/socket_wrapper.c
index a84c460114779296b2dba66908de551041a27cca..5b8052e5ed69f6a97f7e8ae010992d3bbc0cd918 100644
(file)
--- 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;