From 41102ca31118baacdf3cbc34876062a1a7374f8c Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 27 Aug 2020 01:09:35 +0200 Subject: [PATCH] Ditch a couple of spaces in pointer declarations Sponsored by: Robert Klemme --- gateway.c | 12 ++++++------ gateway.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gateway.c b/gateway.c index 46db1e32..07752b00 100644 --- a/gateway.c +++ b/gateway.c @@ -78,8 +78,8 @@ #endif /* HAVE_POLL */ #endif /* def FEATURE_CONNECTION_KEEP_ALIVE */ -static jb_socket socks4_connect(const struct forward_spec * fwd, - const char * target_host, +static jb_socket socks4_connect(const struct forward_spec *fwd, + const char *target_host, int target_port, struct client_state *csp); @@ -578,11 +578,11 @@ static int mark_connection_unused(const struct reusable_connection *connection) * Returns : JB_INVALID_SOCKET => failure, else it is the socket file descriptor. * *********************************************************************/ -jb_socket forwarded_connect(const struct forward_spec * fwd, +jb_socket forwarded_connect(const struct forward_spec *fwd, struct http_request *http, struct client_state *csp) { - const char * dest_host; + const char *dest_host; int dest_port; jb_socket sfd = JB_INVALID_SOCKET; @@ -713,8 +713,8 @@ extern jb_err socks_fuzz(struct client_state *csp) * Returns : JB_INVALID_SOCKET => failure, else a socket file descriptor. * *********************************************************************/ -static jb_socket socks4_connect(const struct forward_spec * fwd, - const char * target_host, +static jb_socket socks4_connect(const struct forward_spec *fwd, + const char *target_host, int target_port, struct client_state *csp) { diff --git a/gateway.h b/gateway.h index 256dc434..0f28a633 100644 --- a/gateway.h +++ b/gateway.h @@ -40,7 +40,7 @@ struct forward_spec; struct http_request; struct client_state; -extern jb_socket forwarded_connect(const struct forward_spec * fwd, +extern jb_socket forwarded_connect(const struct forward_spec *fwd, struct http_request *http, struct client_state *csp); -- 2.39.2