Fix style in dispatch_known_cgi()
authorFabian Keil <fk@fabiankeil.de>
Fri, 28 Aug 2020 08:34:00 +0000 (10:34 +0200)
committerFabian Keil <fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000 (12:22 +0200)
Sponsored by: Robert Klemme

cgi.c

diff --git a/cgi.c b/cgi.c
index 15ef256..52cccb9 100644 (file)
--- a/cgi.c
+++ b/cgi.c
@@ -537,7 +537,8 @@ static struct http_response *dispatch_known_cgi(struct client_state * csp,
       *query_args_start++ = '\0';
       param_list = new_map();
       err = map(param_list, "file", 1, url_decode(query_args_start), 0);
-      if (JB_ERR_OK != err) {
+      if (JB_ERR_OK != err)
+      {
          free(param_list);
          free(path_copy);
          return cgi_error_memory();