mirror of https://github.com/ARMmbed/mbed-os.git
tcp_client_hello_worldminor update
parent
ea692cf623
commit
3035d80356
|
@ -67,9 +67,7 @@ int main() {
|
|||
TEST_ASSERT_TRUE(found_200_ok);
|
||||
TEST_ASSERT_TRUE(found_hello);
|
||||
|
||||
result = true;
|
||||
if (!found_200_ok) result = false;
|
||||
if (!found_hello) result = false;
|
||||
if (found_200_ok && found_hello) result = true;
|
||||
|
||||
printf("HTTP: Received %d chars from server\r\n", ret);
|
||||
printf("HTTP: Received 200 OK status ... %s\r\n", found_200_ok ? "[OK]" : "[FAIL]");
|
||||
|
|
Loading…
Reference in New Issue