summaryrefslogtreecommitdiff
path: root/lib/socket_wrapper
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-10-02 07:11:49 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-10-02 09:35:10 +0200
commitc626aad36a9757d584b9f10f0ba55dda72499c50 (patch)
tree81f9b710525997779b9a331aa3d4f0749127cff9 /lib/socket_wrapper
parent2be25abcb13353c26712ec8bc50f65ad53d390d4 (diff)
downloadsamba-c626aad36a9757d584b9f10f0ba55dda72499c50.tar.gz
swrap: Rename socket_wrapper_pcap_file().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/socket_wrapper')
-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 d5ab3c947f2..41dc07da45a 100644
--- a/lib/socket_wrapper/socket_wrapper.c
+++ b/lib/socket_wrapper/socket_wrapper.c
@@ -1610,7 +1610,7 @@ union swrap_packet_payload {
SWRAP_PACKET_IP_SIZE + \
SWRAP_PACKET_PAYLOAD_SIZE)
-static const char *socket_wrapper_pcap_file(void)
+static const char *swrap_pcap_init_file(void)
{
static int initialized = 0;
static const char *s = NULL;
@@ -2209,7 +2209,7 @@ static void swrap_dump_packet(struct socket_info *si,
size_t packet_len = 0;
int fd;
- file_name = socket_wrapper_pcap_file();
+ file_name = swrap_pcap_init_file();
if (!file_name) {
return;
}