summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-10-02 07:14:44 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-10-02 09:35:10 +0200
commit79e545b304db8b3fa6fcb21a6f1e023e0ae0f3b4 (patch)
treec4b33762ebfc1b3a8211319a873922b28ffc7917
parent7d4c6cf25d5f424156fa0a6f90673744c5eba18e (diff)
downloadsamba-79e545b304db8b3fa6fcb21a6f1e023e0ae0f3b4.tar.gz
samba-79e545b304db8b3fa6fcb21a6f1e023e0ae0f3b4.tar.xz
samba-79e545b304db8b3fa6fcb21a6f1e023e0ae0f3b4.zip
swrap: Rename swrap_pcap_get_fd().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--lib/socket_wrapper/socket_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c
index be48e184c2..a721b94a46 100644
--- 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);