]> err.no Git - varnish/commitdiff
Don't assert that the close succeeds, we may already have closed the telnet
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 10:14:23 +0000 (10:14 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 10:14:23 +0000 (10:14 +0000)
socket.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2725 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_cli.c

index b37037e10ae885e93190d7414033ec21c1d1ee97..972b3d715e28b1de81333c14fc2f7409ae9a9cba 100644 (file)
@@ -392,7 +392,7 @@ telnet_close_one(int fd)
                if (tn->fd != fd)
                        continue;
                VTAILQ_REMOVE(&telnets, tn, list);
-               AZ(close(tn->fd));
+               (void)close(tn->fd);
                free(tn);
                break;
        }