Fix erronous buffer declaration

This commit is contained in:
Stephen Seo 2024-11-12 17:16:58 +09:00
parent cdacfc106d
commit 33be6c49fd

View file

@ -458,7 +458,7 @@ int c_simple_http_static_copy_over_dir(const char *from,
return 1; return 1;
} }
char *buf[1024]; char buf[1024];
size_t fread_ret; size_t fread_ret;
unsigned long fwrite_ret; unsigned long fwrite_ret;
while (!feof(from_file_fd) while (!feof(from_file_fd)