tcp_client_hello_worldminor update

pull/2852/head
jeromecoutant 2016-09-20 09:40:48 +02:00 committed by Anna Bridge
parent ea692cf623
commit 3035d80356
1 changed files with 2 additions and 4 deletions

View File

@ -67,9 +67,7 @@ int main() {
TEST_ASSERT_TRUE(found_200_ok); TEST_ASSERT_TRUE(found_200_ok);
TEST_ASSERT_TRUE(found_hello); TEST_ASSERT_TRUE(found_hello);
result = true; if (found_200_ok && found_hello) result = true;
if (!found_200_ok) result = false;
if (!found_hello) result = false;
printf("HTTP: Received %d chars from server\r\n", ret); printf("HTTP: Received %d chars from server\r\n", ret);
printf("HTTP: Received 200 OK status ... %s\r\n", found_200_ok ? "[OK]" : "[FAIL]"); printf("HTTP: Received 200 OK status ... %s\r\n", found_200_ok ? "[OK]" : "[FAIL]");