From: phk Date: Sat, 19 Jul 2008 09:44:40 +0000 (+0000) Subject: Don't constify the cli argument to cli_out() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f789eea7bae95196dc065425d7c3d8feb9032343;p=varnish Don't constify the cli argument to cli_out() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2956 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/include/cli_priv.h b/varnish-cache/include/cli_priv.h index c0a12181..2ff5677c 100644 --- a/varnish-cache/include/cli_priv.h +++ b/varnish-cache/include/cli_priv.h @@ -53,7 +53,7 @@ struct cli_proto { }; /* The implementation must provide these functions */ -void cli_out(const struct cli *cli, const char *fmt, ...); +void cli_out(struct cli *cli, const char *fmt, ...); void cli_param(struct cli *cli); void cli_result(struct cli *cli, unsigned r); diff --git a/varnish-cache/lib/libvarnish/cli_common.c b/varnish-cache/lib/libvarnish/cli_common.c index d375428d..7fda74e0 100644 --- a/varnish-cache/lib/libvarnish/cli_common.c +++ b/varnish-cache/lib/libvarnish/cli_common.c @@ -55,7 +55,7 @@ #include "cli_common.h" void -cli_out(const struct cli *cli, const char *fmt, ...) +cli_out(struct cli *cli, const char *fmt, ...) { va_list ap;