git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d4c6cf
)
swrap: Rename swrap_pcap_get_fd().
author
Andreas Schneider
<asn@samba.org>
Thu, 2 Oct 2014 05:14:44 +0000
(07:14 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 2 Oct 2014 07:35:10 +0000
(09:35 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/socket_wrapper/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/socket_wrapper/socket_wrapper.c
b/lib/socket_wrapper/socket_wrapper.c
index be48e184c290e1786c9078bd0177e7ba5c631b0b..a721b94a462cc7b97fb2be6569b0818aa4f405c5 100644
(file)
--- a/
lib/socket_wrapper/socket_wrapper.c
+++ b/
lib/socket_wrapper/socket_wrapper.c
@@
-1906,7
+1906,7
@@
static uint8_t *swrap_pcap_packet_init(struct timeval *tval,
return base;
}
-static int swrap_
get_pcap
_fd(const char *fname)
+static int swrap_
pcap_get
_fd(const char *fname)
{
static int fd = -1;
@@
-2231,7
+2231,7
@@
static void swrap_dump_packet(struct socket_info *si,
return;
}
- fd = swrap_
get_pcap
_fd(file_name);
+ fd = swrap_
pcap_get
_fd(file_name);
if (fd != -1) {
if (write(fd, packet, packet_len) != (ssize_t)packet_len) {
free(packet);