mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
replaced memcpy by strncpy to get rid of warning
This commit is contained in:
parent
0279f1f7bd
commit
b90488678a
@ -24,7 +24,7 @@ static wsfs_status wsfs_fill_buffer(
|
||||
{
|
||||
if (0 == strcmp("identity", format))
|
||||
{
|
||||
memcpy(buffer, data, copy_count);
|
||||
strncpy(buffer, data, copy_count);
|
||||
}
|
||||
else if (0 == strcmp("base64", format))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user