r3898 - trunk/varnish-cache/bin/varnishtest
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Mon Mar 9 11:32:23 CET 2009
Author: tfheen
Date: 2009-03-09 11:32:23 +0100 (Mon, 09 Mar 2009)
New Revision: 3898
Modified:
trunk/varnish-cache/bin/varnishtest/vtc.c
Log:
Fix compilation problem on Darwin
Modified: trunk/varnish-cache/bin/varnishtest/vtc.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc.c 2009-03-09 09:46:04 UTC (rev 3897)
+++ trunk/varnish-cache/bin/varnishtest/vtc.c 2009-03-09 10:32:23 UTC (rev 3898)
@@ -238,16 +238,17 @@
static void
cmd_shell(CMD_ARGS)
{
-
(void)priv;
(void)cmd;
+ int r;
if (av == NULL)
return;
AN(av[1]);
AZ(av[2]);
vtc_dump(vl, 4, "shell", av[1]);
- assert(WEXITSTATUS(system(av[1])) == 0);
+ r = system(av[1]);
+ assert(WEXITSTATUS(r) == 0);
}
/**********************************************************************
More information about the varnish-commit
mailing list