swrap: Rename socket_wrapper_pcap_file().
authorAndreas Schneider <asn@samba.org>
Thu, 2 Oct 2014 05:11:49 +0000 (07:11 +0200)
committerAndreas 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

index d5ab3c947f26d67b2f2691bb05ce61da0d360d20..41dc07da45a47fb6d4e417076f9fa15705568e91 100644 (file)
@@ -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;
        }