r3851 - trunk/varnish-cache/bin/varnishadm

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Mar 2 13:01:31 CET 2009


Author: tfheen
Date: 2009-03-02 13:01:30 +0100 (Mon, 02 Mar 2009)
New Revision: 3851

Modified:
   trunk/varnish-cache/bin/varnishadm/varnishadm.c
Log:
Fix typo in varnishadm.c (variable name)


Modified: trunk/varnish-cache/bin/varnishadm/varnishadm.c
===================================================================
--- trunk/varnish-cache/bin/varnishadm/varnishadm.c	2009-03-02 11:54:27 UTC (rev 3850)
+++ trunk/varnish-cache/bin/varnishadm/varnishadm.c	2009-03-02 12:01:30 UTC (rev 3851)
@@ -124,7 +124,7 @@
 		/* 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);



More information about the varnish-commit mailing list