[4.1] 3dd8866 Fix output
Lasse Karstensen
lkarsten at varnish-software.com
Thu Jan 14 15:15:05 CET 2016
commit 3dd8866490e3d91355cc06aa94f0055e4b5dedc1
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sun Nov 22 10:52:09 2015 +0900
Fix output
diff --git a/bin/varnishd/mgt/mgt_acceptor.c b/bin/varnishd/mgt/mgt_acceptor.c
index 49cc0c8..8edfd1c 100644
--- a/bin/varnishd/mgt/mgt_acceptor.c
+++ b/bin/varnishd/mgt/mgt_acceptor.c
@@ -202,19 +202,19 @@ MAC_Arg(const char *arg)
mh->first_step = S_STP_H1NEWSESS;
mh->proto_name = "HTTP/1";
if (av[2] != NULL && av[3] != NULL)
- ARGV_ERR("Too many sub-arguments to -a(HTTP/1))\n");
+ ARGV_ERR("Too many sub-arguments to -a(HTTP/1)\n");
} else if (!strcmp(av[2], "PROXY")) {
mh->first_step = S_STP_PROXYNEWSESS;
mh->proto_name = "PROXY";
if (av[3] != NULL)
- ARGV_ERR("Too many sub-arguments to -a(PROXY))\n");
+ ARGV_ERR("Too many sub-arguments to -a(PROXY)\n");
} else {
ARGV_ERR("Unknown protocol '%s'\n", av[2]);
}
error = VSS_resolver(av[1], "80", mac_callback, mh, &err);
if (mh->good == 0 || error)
- ARGV_ERR("socket %s didn't resolve \n", av[1]);
+ ARGV_ERR("socket %s didn't resolve\n", av[1]);
VAV_Free(av);
FREE_OBJ(mh);
}
More information about the varnish-commit
mailing list