summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-11-14 11:47:26 -0500
committerJune McEnroe <june@causal.agency>2020-11-14 11:47:26 -0500
commit70c3c9156a64c9053978e499328a121757628ed2 (patch)
tree978a97afca4539be291cd6aec5e8df20e5f44e6b /bounce.h
parentOnly send shutdown QUIT and ERROR to registered clients (diff)
downloadpounce-70c3c9156a64c9053978e499328a121757628ed2.tar.gz
pounce-70c3c9156a64c9053978e499328a121757628ed2.zip
Swap localAccept parameter order
Diffstat (limited to '')
-rw-r--r--bounce.h2
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);