[4.0] 7c8451d Check VUT_Arg() return with AN for consistency.

Poul-Henning Kamp phk at FreeBSD.org
Tue Jun 24 11:31:40 CEST 2014


commit 7c8451dd3f4a70a64d4933399bf355a4af1ea160
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 5 08:26:01 2014 +0000

    Check VUT_Arg() return with AN for consistency.

diff --git a/bin/varnishtop/varnishtop.c b/bin/varnishtop/varnishtop.c
index 761c3f3..80b19f2 100644
--- a/bin/varnishtop/varnishtop.c
+++ b/bin/varnishtop/varnishtop.c
@@ -329,7 +329,7 @@ main(int argc, char **argv)
 	while ((o = getopt(argc, argv, vopt_optstring)) != -1) {
 		switch (o) {
 		case '1':
-			VUT_Arg('d', NULL);
+			AN(VUT_Arg('d', NULL));
 			once = 1;
 			break;
 		case 'f':



More information about the varnish-commit mailing list