Commit 4ffe3f1e authored by Tollef Fog Heen's avatar Tollef Fog Heen

Fix typo in varnishadm.c (variable name)


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3851 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6d188498
...@@ -124,7 +124,7 @@ telnet_mgt(const char *T_arg, int argc, char *argv[]) ...@@ -124,7 +124,7 @@ telnet_mgt(const char *T_arg, int argc, char *argv[])
/* The first one was probably just the banner, /* The first one was probably just the banner,
see if there are more replies.*/ see if there are more replies.*/
free(answer); free(answer);
parse_reply(sock, &status, &answerlen, &answer); parse_reply(sock, &status, &bytes, &answer);
if (status != 200 || strstr(answer, "PONG") == NULL) { if (status != 200 || strstr(answer, "PONG") == NULL) {
fprintf(stderr, "No pong received from server\n", status); fprintf(stderr, "No pong received from server\n", status);
exit(1); exit(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment