From 70c3c9156a64c9053978e499328a121757628ed2 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 14 Nov 2020 11:47:26 -0500 Subject: Swap localAccept parameter order --- bounce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bounce.h') diff --git a/bounce.h b/bounce.h index a6ad31f..77e0164 100644 --- a/bounce.h +++ b/bounce.h @@ -171,7 +171,7 @@ void ringLoad(FILE *file); void localConfig(FILE *cert, FILE *priv, FILE *ca, bool require); size_t localBind(int fds[], size_t cap, const char *host, const char *port); size_t localUnix(int fds[], size_t cap, const char *path); -struct tls *localAccept(int *fd, int bind); +int localAccept(struct tls **tls, int bind); extern struct timeval serverQueueInterval; void serverConfig(bool insecure, const char *cert, const char *priv); -- cgit 1.4.1