]> www.dolda2000.com Git - ashd.git/commitdiff
htparser: Fixed typo.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 13 Apr 2014 23:10:12 +0000 (01:10 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 13 Apr 2014 23:10:12 +0000 (01:10 +0200)
src/ssl-gnutls.c

index 1ab040d1dd85b9d4e7deb1298efb038cbc35fe9b..459556e061a4423f2d004676a12fc5b95ac3245a 100644 (file)
@@ -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)