summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;