From e202d3083594f678931c834e8e7dc1f1f80c480f Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 17 Apr 2020 13:39:23 -0500 Subject: [PATCH] Use make format. --- test/fuzzers/fuzz_dostring.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/test/fuzzers/fuzz_dostring.c b/test/fuzzers/fuzz_dostring.c index cc1dbe27..625ab0a4 100644 --- a/test/fuzzers/fuzz_dostring.c +++ b/test/fuzzers/fuzz_dostring.c @@ -2,21 +2,21 @@ #include #include -int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size){ - char *new_str = (char *)malloc(size+1); - if (new_str == NULL){ - return 0; - } - memcpy(new_str, data, size); - new_str[size] = '\0'; +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { + char *new_str = (char *)malloc(size + 1); + if (new_str == NULL) { + return 0; + } + memcpy(new_str, data, size); + new_str[size] = '\0'; - /* janet logic */ - janet_init(); - JanetTable *env = janet_core_env(NULL); - janet_dostring(env, new_str, "main", NULL); - janet_deinit(); + /* janet logic */ + janet_init(); + JanetTable *env = janet_core_env(NULL); + janet_dostring(env, new_str, "main", NULL); + janet_deinit(); - free(new_str); - return 0; + free(new_str); + return 0; }