diff --git a/src/libraries/j6/protocols/vfs.cpp b/src/libraries/j6/protocols/vfs.cpp index b34bd0f..6b17ec3 100644 --- a/src/libraries/j6/protocols/vfs.cpp +++ b/src/libraries/j6/protocols/vfs.cpp @@ -12,7 +12,7 @@ client::client(j6_handle_t vfs_mb) : { } -inline size_t simple_strlen(const char *s) { size_t n = 0; while (s && *s) n++; return n; } +inline size_t simple_strlen(const char *s) { size_t n = 0; while (s && *s) s++, n++; return n; } j6_status_t client::load_file(char *path, j6_handle_t &vma)