1
0
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:
Falk Werner 2023-01-01 16:15:44 +01:00
parent 48a43c9260
commit 8511dae266

View File

@ -56,7 +56,6 @@ static int fs_readlink(char const * path, char * buffer, size_t buffer_size)
if (0 == result)
{
snprintf(buffer, buffer_size, "%s", out.c_str());
result = strlen(buffer);
}
return result;