From 66d3f51e687f145337ae0bba505f04cb6db2835e Mon Sep 17 00:00:00 2001 From: Cagebreak Signing Key 1 Date: Sun, 24 May 2020 18:31:24 +0200 Subject: [PATCH] Apply clang-format --- fuzz/fuzz-parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fuzz/fuzz-parse.c b/fuzz/fuzz-parse.c index a53883d..2434feb 100644 --- a/fuzz/fuzz-parse.c +++ b/fuzz/fuzz-parse.c @@ -419,10 +419,10 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if(size == 0) { return 0; } - int max_line_size=256>size?size:256; - char *str = malloc(sizeof(char)*max_line_size); + int max_line_size = 256 > size ? size : 256; + char *str = malloc(sizeof(char) * max_line_size); strncpy(str, (char *)data, max_line_size); - str[max_line_size-1] = 0; + str[max_line_size - 1] = 0; set_configuration(&server, str); free(str); keybinding_list_free(server.keybindings);