]> err.no Git - varnish/commitdiff
Fix typo in varnishadm.c (variable name)
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 2 Mar 2009 12:01:30 +0000 (12:01 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 2 Mar 2009 12:01:30 +0000 (12:01 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3851 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishadm/varnishadm.c

index 81a2653eb10c1e463fc27450279e214f85e79329..841529daecb33e38da32133b58c86534b264e631 100644 (file)
@@ -124,7 +124,7 @@ telnet_mgt(const char *T_arg, int argc, char *argv[])
                /* The first one was probably just the banner,
                   see if there are more replies.*/
                free(answer);
-               parse_reply(sock, &status, &answerlen, &answer);
+               parse_reply(sock, &status, &bytes, &answer);
                if (status != 200 || strstr(answer, "PONG") == NULL) {
                        fprintf(stderr, "No pong received from server\n", status);
                        exit(1);