diff options
author | June McEnroe <june@causal.agency> | 2020-11-14 11:47:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-11-14 11:47:26 -0500 |
commit | 70c3c9156a64c9053978e499328a121757628ed2 (patch) | |
tree | 978a97afca4539be291cd6aec5e8df20e5f44e6b /bounce.h | |
parent | Only send shutdown QUIT and ERROR to registered clients (diff) | |
download | pounce-70c3c9156a64c9053978e499328a121757628ed2.tar.gz pounce-70c3c9156a64c9053978e499328a121757628ed2.zip |
Swap localAccept parameter order
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |