diff options
-rw-r--r-- | programs/http_client.c | 6 | ||||
-rw-r--r-- | programs/http_client_upcall.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/programs/http_client.c b/programs/http_client.c index 4dc197f0..e3f4a807 100644 --- a/programs/http_client.c +++ b/programs/http_client.c @@ -30,7 +30,7 @@ /* * Usage: http_client remote_addr remote_port [local_port] [local_encaps_port] [remote_encaps_port] [uri] - * + * * Example * Client: $ ./http_client 212.201.121.100 80 0 9899 9899 /cgi-bin/he * ./http_client 2a02:c6a0:4015:10::100 80 0 9899 9899 /cgi-bin/he @@ -106,8 +106,8 @@ main(int argc, char *argv[]) int result; if (argc < 3) { - printf("Usage: http_client remote_addr remote_port [local_port] [local_encaps_port] [remote_encaps_port] [uri]\n"); - return(EXIT_FAILURE); + printf("Usage: http_client remote_addr remote_port [local_port] [local_encaps_port] [remote_encaps_port] [uri]\n"); + return(EXIT_FAILURE); } result = 0; diff --git a/programs/http_client_upcall.c b/programs/http_client_upcall.c index c091ad62..d3d97acb 100644 --- a/programs/http_client_upcall.c +++ b/programs/http_client_upcall.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Felix Weinrank + * Copyright (C) 2016-2018 Felix Weinrank * * All rights reserved. * @@ -127,10 +127,10 @@ main(int argc, char *argv[]) struct sctp_udpencaps encaps; int result; - if (argc < 3) { - printf("Usage: http_client_upcall remote_addr remote_port [local_port] [local_encaps_port] [remote_encaps_port] [uri]\n"); - return(EXIT_FAILURE); - } + if (argc < 3) { + printf("Usage: http_client_upcall remote_addr remote_port [local_port] [local_encaps_port] [remote_encaps_port] [uri]\n"); + return(EXIT_FAILURE); + } result = 0; if (argc > 4) { |