1
0
mirror of https://github.com/mirror/wget.git synced 2025-04-24 04:05:05 +08:00

* fuzz/main.c (test_all_from): Fix indentation

This commit is contained in:
Tim Rühsen 2019-03-26 09:42:50 +01:00
parent 5d87635c66
commit 4c89c85a28

View File

@ -51,11 +51,12 @@ static int test_all_from(const char *dirname)
char fname[strlen(dirname) + strlen(dp->d_name) + 2];
snprintf(fname, sizeof(fname), "%s/%s", dirname, dp->d_name);
struct file_memory *fmem;
struct file_memory *fmem;
if ((fmem = wget_read_file(fname))) {
printf("testing %ld bytes from '%s'\n", fmem->length, fname);
fflush(stdout);
LLVMFuzzerTestOneInput((uint8_t *)fmem->content, fmem->length);
wget_read_file_free(fmem);
wget_read_file_free(fmem);
}
}
closedir(dirp);