summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-29 16:28:50 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-29 16:28:50 (EDT)
commitfed4f9938ac10c389c71c660a1c32b029440dfb1 (patch)
tree90fb87db1b210e0b61be6c0861ef27e1e63c5cae /src
parent91acf0a3e0839dbc0ef558a43c86c75bfcbcb491 (diff)
s_client: Vertically align assignments
Diffstat (limited to 'src')
-rw-r--r--src/s_client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/s_client.c b/src/s_client.c
index ba1238f..ea9972d 100644
--- a/src/s_client.c
+++ b/src/s_client.c
@@ -66,9 +66,9 @@ connect_socket(const char *host, const char *port)
struct addrinfo *rp;
int sfd;
- hints.ai_family = AF_UNSPEC;
+ hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_PASSIVE;
+ hints.ai_flags = AI_PASSIVE;
hints.ai_protocol = 0;
s = getaddrinfo(host, port, &hints, &result);
@@ -179,10 +179,10 @@ poll_fds(int sfd, WOLFSSL *ssl)
int
s_client(int argc, char **argv)
{
- char *host = NULL;
- char *port = NULL;
+ char *host = NULL;
+ char *port = NULL;
const char *servername = NULL;
- int ret = EXIT_SUCCESS;
+ int ret = EXIT_SUCCESS;
WOLFSSL_METHOD *method;
WOLFSSL_CTX *ctx;
WOLFSSL *ssl;