From: Fredrik Tolf Date: Sun, 13 Apr 2014 23:10:12 +0000 (+0200) Subject: htparser: Fixed typo. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=3ae5664988dd86d1e780f5cc59a3c6f819f78264;p=ashd.git htparser: Fixed typo. --- diff --git a/src/ssl-gnutls.c b/src/ssl-gnutls.c index 1ab040d..459556e 100644 --- a/src/ssl-gnutls.c +++ b/src/ssl-gnutls.c @@ -364,7 +364,7 @@ static void listenloop(struct muth *muth, va_list args) struct sockaddr_storage name; socklen_t namelen; - fcntl(pd->fd, F_SETFL, fcntl(tcp->fd, F_GETFL) | O_NONBLOCK); + fcntl(pd->fd, F_SETFL, fcntl(pd->fd, F_GETFL) | O_NONBLOCK); while(1) { namelen = sizeof(name); if(block(pd->fd, EV_READ, 0) == 0)