From e1b23b6ec197e4eda6a59d63fed6451192725468 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 23 Jul 2008 15:19:38 +0000 Subject: [PATCH] don't make assumptions about pthread_t git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2996 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/vtc_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishtest/vtc_client.c b/varnish-cache/bin/varnishtest/vtc_client.c index b36774ce..c0a21345 100644 --- a/varnish-cache/bin/varnishtest/vtc_client.c +++ b/varnish-cache/bin/varnishtest/vtc_client.c @@ -140,7 +140,7 @@ client_wait(struct client *c) vtc_log(c->vl, 0, "Client returned \"%s\"", (char *)res); exit (1); } - c->tp = NULL; + c->tp = 0; } /********************************************************************** @@ -172,7 +172,7 @@ cmd_client(CMD_ARGS) /* Reset and free */ VTAILQ_FOREACH_SAFE(c, &clients, list, c2) { VTAILQ_REMOVE(&clients, c, list); - if (c->tp != NULL) + if (c->tp != 0) client_wait(c); FREE_OBJ(c); /* XXX: MEMLEAK */ -- 2.39.5