From 6d9b6675b0766ac533313a8973ac0833f4378f72 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 04 Aug 2019 00:32:21 -0400 Subject: s_client: Merge assignment and conditional No change to binary, just bumming one line of source code. --- (limited to 'src') diff --git a/src/s_client.c b/src/s_client.c index 2387474..2aa71c2 100644 --- a/src/s_client.c +++ b/src/s_client.c @@ -257,8 +257,7 @@ s_client(int argc, char **argv) } #endif - sfd = connect_socket(host, port); - if (sfd == -1) { + if ((sfd = connect_socket(host, port)) == -1) { goto error; } wolfSSL_set_fd(ssl, sfd); -- cgit v0.9.1