[master] a194ba8 Enforce identical naming for command functions

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 18 18:45:08 CEST 2016


commit a194ba851dd1b7ab27b6efe4ba6ab6dc36a8ce55
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Aug 18 18:40:25 2016 +0200

    Enforce identical naming for command functions

diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index e7a40ef..2958867 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -674,7 +674,7 @@ static const struct cmds cmds[] = {
 	{ "barrier",	cmd_barrier },
 	{ "random",	cmd_random },
 	{ "feature",	cmd_feature },
-	{ "logexpect",	cmd_logexp },
+	{ "logexpect",	cmd_logexpect },
 	{ "process",	cmd_process },
 	{ NULL,		NULL }
 };
diff --git a/bin/varnishtest/vtc.h b/bin/varnishtest/vtc.h
index b2b730a..14053c8 100644
--- a/bin/varnishtest/vtc.h
+++ b/bin/varnishtest/vtc.h
@@ -63,7 +63,7 @@ cmd_f cmd_server;
 cmd_f cmd_client;
 cmd_f cmd_varnish;
 cmd_f cmd_barrier;
-cmd_f cmd_logexp;
+cmd_f cmd_logexpect;
 cmd_f cmd_process;
 
 extern volatile sig_atomic_t vtc_error; /* Error, bail out */
diff --git a/bin/varnishtest/vtc_logexp.c b/bin/varnishtest/vtc_logexp.c
index 338c117..eb2843a 100644
--- a/bin/varnishtest/vtc_logexp.c
+++ b/bin/varnishtest/vtc_logexp.c
@@ -519,7 +519,7 @@ logexp_spec(struct logexp *le, const char *spec)
 }
 
 void
-cmd_logexp(CMD_ARGS)
+cmd_logexpect(CMD_ARGS)
 {
 	struct logexp *le, *le2;
 	const char tmpdir[] = "${tmpdir}";



More information about the varnish-commit mailing list