[master] 3ee5325 Fix assertion error introduced in bb9d7879.

Lasse Karstensen lkarsten at varnish-software.com
Tue Sep 2 13:48:38 CEST 2014


commit 3ee53259917b9aef37f4be08be273650b9a53968
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Tue Sep 2 13:45:28 2014 +0200

    Fix assertion error introduced in bb9d7879.

diff --git a/bin/varnishncsa/varnishncsa.c b/bin/varnishncsa/varnishncsa.c
index a6658e3..162829d 100644
--- a/bin/varnishncsa/varnishncsa.c
+++ b/bin/varnishncsa/varnishncsa.c
@@ -300,7 +300,7 @@ format_requestline(const struct format *format)
 		AZ(vsb_fcat(CTX.vsb, &CTX.frag[F_host], NULL));
 	} else
 		AZ(VSB_cat(CTX.vsb, "http://localhost"));
-	AZ(vsb_fcat(CTX.vsb, &CTX.frag[F_U], NULL));
+	AZ(vsb_fcat(CTX.vsb, &CTX.frag[F_U], ""));
 	AZ(vsb_fcat(CTX.vsb, &CTX.frag[F_q], ""));
 	AZ(VSB_putc(CTX.vsb, ' '));
 	AZ(vsb_fcat(CTX.vsb, &CTX.frag[F_H], "HTTP/1.0"));



More information about the varnish-commit mailing list