r2996 - trunk/varnish-cache/bin/varnishtest
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jul 23 17:19:38 CEST 2008
Author: phk
Date: 2008-07-23 17:19:38 +0200 (Wed, 23 Jul 2008)
New Revision: 2996
Modified:
trunk/varnish-cache/bin/varnishtest/vtc_client.c
Log:
don't make assumptions about pthread_t
Modified: trunk/varnish-cache/bin/varnishtest/vtc_client.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_client.c 2008-07-23 15:01:54 UTC (rev 2995)
+++ trunk/varnish-cache/bin/varnishtest/vtc_client.c 2008-07-23 15:19:38 UTC (rev 2996)
@@ -140,7 +140,7 @@
vtc_log(c->vl, 0, "Client returned \"%s\"", (char *)res);
exit (1);
}
- c->tp = NULL;
+ c->tp = 0;
}
/**********************************************************************
@@ -172,7 +172,7 @@
/* 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 */
More information about the varnish-commit
mailing list