Commit 97410c2c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

An assert to catch silly errors.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@748 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ccff2864
......@@ -266,6 +266,7 @@ DebugStunt(void)
d_child = strtoul(buf, &p, 0);
assert(p != NULL);
printf("New Pid %d\n", d_child);
assert(d_child != 0);
i = strlen(p);
j = write(pipes[1][1], p, i);
assert(j == i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment