From 901730e86ebf5495a1fe652d2e9fd7d28377cf8e Mon Sep 17 00:00:00 2001 From: toddouska Date: Thu, 2 Aug 2012 12:15:42 -0700 Subject: [PATCH] make sure client GET reads as much as possible --- examples/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client/client.c b/examples/client/client.c index c48b0d2d0..13eb14648 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -358,7 +358,7 @@ void client_test(void* args) reply[input] = 0; printf("Server response: %s\n", reply); - if (argc == 3) { /* get html */ + if (sendGET) { /* get html */ while (1) { input = CyaSSL_read(ssl, reply, sizeof(reply)); if (input > 0) {