From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 26 Aug 2020 23:09:35 +0000 (+0200)
Subject: Ditch a couple of spaces in pointer declarations
X-Git-Tag: v_3_0_29~177
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/static/@default-cgi@send-banner?a=commitdiff_plain;h=41102ca31118baacdf3cbc34876062a1a7374f8c;p=privoxy.git

Ditch a couple of spaces in pointer declarations

Sponsored by: Robert Klemme
---

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);