[master] 950439f Correct prototype

Federico G. Schwindt fgsch at lodoss.net
Sat Feb 18 01:12:05 CET 2017


commit 950439fdb4268f2d2f9fc57c122475853e1f54fc
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sat Feb 18 00:08:29 2017 +0000

    Correct prototype

diff --git a/bin/varnishtest/vtc.h b/bin/varnishtest/vtc.h
index 34460ce..5919913 100644
--- a/bin/varnishtest/vtc.h
+++ b/bin/varnishtest/vtc.h
@@ -102,7 +102,7 @@ void vtc_fatal(struct vtclog *vl, const char *, ...)
 void vtc_dump(struct vtclog *vl, int lvl, const char *pfx,
     const char *str, int len);
 void vtc_hexdump(struct vtclog *vl, int lvl, const char *pfx,
-    const unsigned char *str, int len);
+    const char *str, int len);
 
 int vtc_send_proxy(int fd, int version, const struct suckaddr *sac,
     const struct suckaddr *sas);
diff --git a/bin/varnishtest/vtc_log.c b/bin/varnishtest/vtc_log.c
index cee5df2..ae15e7e 100644
--- a/bin/varnishtest/vtc_log.c
+++ b/bin/varnishtest/vtc_log.c
@@ -233,7 +233,7 @@ vtc_dump(struct vtclog *vl, int lvl, const char *pfx, const char *str, int len)
 
 void
 vtc_hexdump(struct vtclog *vl, int lvl, const char *pfx,
-    const unsigned char *str, int len)
+    const char *str, int len)
 {
 	int nl = 1;
 	unsigned l;



More information about the varnish-commit mailing list