Skip to content

Commit

Permalink
Fixed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Tjaden committed May 30, 2024
1 parent 6fa303f commit ce05bdc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions posix/tcp/wh_client_tcp/wh_client_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ static void* wh_ClientTask(void* cf)
ret = wh_Client_EchoRequest(client,
tx_req_len, tx_req);
if( ret != WH_ERROR_NOTREADY) {
//printf("Client EchoRequest:%d, len:%d, %s\n",
// ret, tx_req_len, tx_req);
continue;
}
} while ((ret == WH_ERROR_NOTREADY) && (usleep(ONE_MS)==0));

Expand All @@ -76,8 +75,6 @@ static void* wh_ClientTask(void* cf)
do {
ret = wh_Client_EchoResponse(client,
&rx_resp_len, rx_resp);
/*printf("Client EchoResponse:%d, len:%d, %s\n",
ret, rx_resp_len, rx_resp);*/
} while ((ret == WH_ERROR_NOTREADY) && (usleep(ONE_MS)==0));

if (ret != 0) {
Expand All @@ -90,7 +87,6 @@ static void* wh_ClientTask(void* cf)
if (ret == 0) {
printf("Successfull connection!\n");
}
// printf("wh_Client_Cleanup:%d\n", ret);
printf("Client disconnected\n");
return NULL;
}
Expand Down

0 comments on commit ce05bdc

Please sign in to comment.