mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
fixed readlink (libfuse expects readlink to return 0 on success)
This commit is contained in:
parent
48a43c9260
commit
8511dae266
@ -56,7 +56,6 @@ static int fs_readlink(char const * path, char * buffer, size_t buffer_size)
|
|||||||
if (0 == result)
|
if (0 == result)
|
||||||
{
|
{
|
||||||
snprintf(buffer, buffer_size, "%s", out.c_str());
|
snprintf(buffer, buffer_size, "%s", out.c_str());
|
||||||
result = strlen(buffer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user