[master] 1bb41f9 Add a missing derefence.
Poul-Henning Kamp
phk at varnish-cache.org
Tue Sep 20 23:29:26 CEST 2011
commit 1bb41f9b58e51adc4d5cc9f4854d12915bb2ba46
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Sep 20 21:29:03 2011 +0000
Add a missing derefence.
diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 32c7e0c..8f96577 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -1078,7 +1078,7 @@ cmd_http_accept(CMD_ARGS)
CAST_OBJ_NOTNULL(hp, priv, HTTP_MAGIC);
AZ(av[1]);
assert(hp->sfd != NULL);
- assert(hp->sfd >= 0);
+ assert(*hp->sfd >= 0);
VTCP_close(&hp->fd);
vtc_log(vl, 4, "Accepting");
hp->fd = accept(*hp->sfd, NULL, NULL);
More information about the varnish-commit
mailing list