Merge pull request #2122 from tmael/portingDeos

Deos: Corrected a typo in TLS client connect call
This commit is contained in:
David Garske 2019-02-27 12:50:54 -08:00 committed by GitHub
commit 95b08553a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;