Commit 57df37b9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't assert that the close succeeds, we may already have closed the telnet

socket.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2725 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5e5b8dbd
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment