r4972 - trunk/varnish-cache/bin/varnishtop

phk at varnish-cache.org phk at varnish-cache.org
Sat Jun 19 18:51:44 CEST 2010


Author: phk
Date: 2010-06-19 18:51:43 +0200 (Sat, 19 Jun 2010)
New Revision: 4972

Modified:
   trunk/varnish-cache/bin/varnishtop/varnishtop.c
Log:
Too many bogus SVID versions out there, don't assert set_curs() return.



Modified: trunk/varnish-cache/bin/varnishtop/varnishtop.c
===================================================================
--- trunk/varnish-cache/bin/varnishtop/varnishtop.c	2010-06-18 09:12:52 UTC (rev 4971)
+++ trunk/varnish-cache/bin/varnishtop/varnishtop.c	2010-06-19 16:51:43 UTC (rev 4972)
@@ -229,7 +229,7 @@
 	AC(noecho());
 	AC(nonl());
 	AC(intrflush(stdscr, FALSE));
-	AC(curs_set(0));
+	(void)curs_set(0);
 	AC(erase());
 	for (;;) {
 		AZ(pthread_mutex_lock(&mtx));




More information about the varnish-commit mailing list