Corrected a typo in TLS client connect call and removed .zip project

This commit is contained in:
Tesfa Mael
2019-02-27 10:00:06 -08:00
parent efc1ab8c42
commit 9b500c6d56
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -166,7 +166,7 @@ void wolfssl_client_test(uintData_t statusPtr) {
server_addr.sin_port = htons(TCP_SERVER_PORT);
printf("Calling connect on socket\n");
if (connect(sock, (sockaddr *) &server_addr, sizeof(server_addr) < 0 )) {
if (connect(sock, (sockaddr *) &server_addr, sizeof(server_addr)) < 0 ) {
printf("ERROR: connect, err = %d\n", errno);
closesocket(sock);
return;