]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: check: fix get_check_status_info declaration
authorWilliam Dauchy <wdauchy@gmail.com>
Sun, 14 Feb 2021 21:26:23 +0000 (22:26 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Feb 2021 10:56:31 +0000 (11:56 +0100)
we always put a \n between function name and `{`

Signed-off-by: William Dauchy <wdauchy@gmail.com>
src/check.c

index d37a55201fff41d797c5d27e22a2360f6d8d6f61..d17f747fe1ad24c49b7583fe426d36b3f9d1df2d 100644 (file)
@@ -178,8 +178,8 @@ const char *get_check_status_description(short check_status) {
 }
 
 /* Converts check_status code to short info */
-const char *get_check_status_info(short check_status) {
-
+const char *get_check_status_info(short check_status)
+{
        const char *info;
 
        if (check_status < HCHK_STATUS_SIZE)