You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
465 B
13 lines
465 B
diff --git a/loop.c b/loop.c
|
|
index 1bbe620..fb06845 100644
|
|
--- a/loop.c
|
|
+++ b/loop.c
|
|
@@ -619,7 +619,7 @@ void event_incoming (struct bufferevent *bev, short what, void *_arg) {
|
|
|
|
static void accept_incoming (evutil_socket_t efd, short what, void *arg) {
|
|
vlogprintf (E_WARNING, "Accepting incoming connection\n");
|
|
- unsigned clilen = 0;
|
|
+ socklen_t clilen = 0;
|
|
struct sockaddr_in cli_addr;
|
|
int fd = accept (efd, (struct sockaddr *)&cli_addr, &clilen);
|
|
|
|
|