From f1f7b5e5d7f99419fc9b1a3d3ee3bce6e8602b10 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 25 Jul 2010 00:50:23 +0200 Subject: Take the local address from the IM/IRC connection when setting up a listening socket for file transfers. --- lib/ftutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftutil.h') diff --git a/lib/ftutil.h b/lib/ftutil.h index c4a5b02b..09c1104e 100644 --- a/lib/ftutil.h +++ b/lib/ftutil.h @@ -37,4 +37,4 @@ /* This function should be used with care. host should be AT LEAST a char[HOST_NAME_MAX+1] and port AT LEAST a char[6]. */ -int ft_listen( struct sockaddr_storage *saddr_ptr, char *host, char *port, int for_bitlbee_client, char **errptr ); +int ft_listen( struct sockaddr_storage *saddr_ptr, char *host, char *port, int copy_fd, int for_bitlbee_client, char **errptr ); -- cgit v1.2.3