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) {