]> err.no Git - varnish/commitdiff
Remove global "stats", stats are per varnish instance.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 10 Jul 2008 07:27:56 +0000 (07:27 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 10 Jul 2008 07:27:56 +0000 (07:27 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2910 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/Makefile.am
varnish-cache/bin/varnishtest/vtc.c
varnish-cache/bin/varnishtest/vtc_stats.c [deleted file]

index 9d0773fbbc85e3367142f2f260b5d6f096b932e4..e4c47eb6325fb572860dad81e438568417080621 100644 (file)
@@ -11,7 +11,6 @@ varnishtest_SOURCES = \
                vtc_http.c \
                vtc_log.c \
                vtc_server.c \
-               vtc_stats.c \
                vtc_varnish.c
 
 varnishtest_LDADD = \
index 3d674848cdc7593aeff61f5cc3eee619a11a0f99..729470eaf2463a7b7bca7b1434ff62937afd35d7 100644 (file)
@@ -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 (file)
index 1b84632..0000000
+++ /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 <stdio.h>
-
-#include "vtc.h"
-
-void
-cmd_stats(CMD_ARGS)
-{
-
-       cmd_dump(av, priv, cmd);
-}