From: phk Date: Thu, 10 Jul 2008 07:27:56 +0000 (+0000) Subject: Remove global "stats", stats are per varnish instance. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b40baea54fa390d75bdecc08333a423468d6bb38;p=varnish Remove global "stats", stats are per varnish instance. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2910 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/Makefile.am b/varnish-cache/bin/varnishtest/Makefile.am index 9d0773fb..e4c47eb6 100644 --- a/varnish-cache/bin/varnishtest/Makefile.am +++ b/varnish-cache/bin/varnishtest/Makefile.am @@ -11,7 +11,6 @@ varnishtest_SOURCES = \ vtc_http.c \ vtc_log.c \ vtc_server.c \ - vtc_stats.c \ vtc_varnish.c varnishtest_LDADD = \ diff --git a/varnish-cache/bin/varnishtest/vtc.c b/varnish-cache/bin/varnishtest/vtc.c index 3d674848..729470ea 100644 --- a/varnish-cache/bin/varnishtest/vtc.c +++ b/varnish-cache/bin/varnishtest/vtc.c @@ -279,7 +279,6 @@ cmd_dump(CMD_ARGS) static struct cmds cmds[] = { { "server", cmd_server }, { "client", cmd_client }, - { "stats", cmd_stats }, { "varnish", cmd_varnish }, { "delay", cmd_delay }, { "test", cmd_test }, diff --git a/varnish-cache/bin/varnishtest/vtc_stats.c b/varnish-cache/bin/varnishtest/vtc_stats.c deleted file mode 100644 index 1b84632d..00000000 --- a/varnish-cache/bin/varnishtest/vtc_stats.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) 2006-2008 Linpro AS - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $Id$ - */ - - -#include - -#include "vtc.h" - -void -cmd_stats(CMD_ARGS) -{ - - cmd_dump(av, priv, cmd); -}