From 588454a6e2132eadbef2ca677d1a52f033d5308a Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 2 Sep 2008 20:20:48 +0000 Subject: [PATCH] Repeat after me: test after fixing. Try to nail r297 again git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3157 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/vtc_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishtest/vtc_server.c b/varnish-cache/bin/varnishtest/vtc_server.c index 0948ac22..c2177223 100644 --- a/varnish-cache/bin/varnishtest/vtc_server.c +++ b/varnish-cache/bin/varnishtest/vtc_server.c @@ -97,7 +97,7 @@ server_thread(void *priv) vtc_log(vl, 3, "Accepted socket fd is %d", fd); http_process(vl, s->spec, fd, 0); vtc_log(vl, 3, "shutting fd %d", fd); - assert(shutdown(fd, SHUT_WR) || errno == ENOTCONN); + assert((shutdown(fd, SHUT_WR) == 0) || errno == ENOTCONN); TCP_close(&fd); } vtc_log(vl, 2, "Ending"); -- 2.39.5