From ffbf1635f5be94eda4ee857d51a51a1564235f5d Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 25 Oct 2019 16:27:24 -0400 Subject: Clean up listen API --- bounce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bounce.h') diff --git a/bounce.h b/bounce.h index 3c95f70..3307bac 100644 --- a/bounce.h +++ b/bounce.h @@ -60,7 +60,7 @@ const char *ringConsume(time_t *time, size_t consumer); void listenConfig(const char *cert, const char *priv); size_t listenBind(int fds[], size_t cap, const char *host, const char *port); -int listenAccept(struct tls **client, int fd); +struct tls *listenAccept(int *fd, int bind); int serverConnect(const char *host, const char *port); void serverLogin( -- cgit 1.4.1