summaryrefslogtreecommitdiff
path: root/listen.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-04 18:28:10 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-04 18:29:03 +0100
commit119244d9b13e84eb898f9fb97e83cac260c1a0b5 (patch)
tree25ebecfa7b835f50f80fc65aa846880b0a988680 /listen.c
parent70e4f40d0dd3f58da107789abc4ada1a40b91c42 (diff)
add basic tls support, todo: error handling
Diffstat (limited to 'listen.c')
-rw-r--r--listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listen.c b/listen.c
index f11768a..251a60e 100644
--- a/listen.c
+++ b/listen.c
@@ -79,7 +79,7 @@ static void listener_cb(struct uloop_fd *fd, unsigned int events)
struct listener *l = container_of(fd, struct listener, fd);
while (1) {
- if (!uh_accept_client(fd->fd))
+ if (!uh_accept_client(fd->fd, l->tls))
break;
}