git.samba.org
/
socket_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f69593
)
swrap: Fix "Value stored never used" warning
author
Anoop C S
<anoopcs@redhat.com>
Fri, 15 Mar 2019 13:18:40 +0000
(18:48 +0530)
committer
Andreas Schneider
<asn@samba.org>
Thu, 21 Mar 2019 07:42:52 +0000
(08:42 +0100)
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/src/socket_wrapper.c
b/src/socket_wrapper.c
index a5037f70d5b9766d7ce2daf1180142fc15dd36d6..e59e5017f09e2177c50538768b4ac4f52af21009 100644
(file)
--- a/
src/socket_wrapper.c
+++ b/
src/socket_wrapper.c
@@
-2539,7
+2539,6
@@
static uint8_t *swrap_pcap_packet_init(struct timeval *tval,
if (wire_len > 64 ) {
icmp_truncate_len = wire_len - 64;
}
- wire_hdr_len += icmp_hdr_len;
wire_len += icmp_hdr_len;
}