From 3b47846242524d7b01a75cf853b142ca2376e793 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 17 Jun 2008 10:14:23 +0000 Subject: [PATCH] Don't assert that the close succeeds, we may already have closed the telnet 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/mgt_cli.c b/varnish-cache/bin/varnishd/mgt_cli.c index b37037e1..972b3d71 100644 --- a/varnish-cache/bin/varnishd/mgt_cli.c +++ b/varnish-cache/bin/varnishd/mgt_cli.c @@ -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; } -- 2.39.5