Fix erronous buffer declaration
This commit is contained in:
parent
cdacfc106d
commit
33be6c49fd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue