# HG changeset patch # User Paul Boddie # Date 1583093095 -3600 # Node ID 416bbed39c537927e5a7463d457c888887c2e3ed # Parent 224029b28695eda4fcc899edfed262ec079d1744 Fixed variable type preventing correct mountpoint match testing. Since the result from the match_path method is signed, the variable used to test the result also needed to be signed. diff -r 224029b28695 -r 416bbed39c53 server/src/main.cc --- a/server/src/main.cc Sun Dec 01 19:09:59 2019 +0100 +++ b/server/src/main.cc Sun Mar 01 21:04:55 2020 +0100 @@ -222,7 +222,7 @@ MountTableIterator it, found = _servers.end(), limit = _servers.upper_bound(path); - size_t length, longest = 0; + ssize_t length, longest = 0; /* Find the largest matching path. */