[master] d74fd18 Polish

Poul-Henning Kamp phk at FreeBSD.org
Thu May 21 22:39:11 CEST 2015


commit d74fd185684012159cedb58880bb71c13b77ea98
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu May 21 20:38:10 2015 +0000

    Polish

diff --git a/bin/varnishd/waiter/cache_waiter_poll.c b/bin/varnishd/waiter/cache_waiter_poll.c
index 718a023..b54d695 100644
--- a/bin/varnishd/waiter/cache_waiter_poll.c
+++ b/bin/varnishd/waiter/cache_waiter_poll.c
@@ -248,7 +248,7 @@ vwp_fini(struct waiter *w)
 	CAST_OBJ_NOTNULL(vwp, w->priv, VWP_MAGIC);
 	vp = NULL;
 	while (vwp->hpoll > 1)
-		usleep(100000);
+		(void)usleep(100000);
 	// XXX: set write pipe blocking
 	assert(write(vwp->pipes[1], &vp, sizeof vp) == sizeof vp);
 	AZ(pthread_join(vwp->thread, &vp));



More information about the varnish-commit mailing list