Commit 6ff394bc authored by Max Kellermann's avatar Max Kellermann

StorageCommands: use PathTraitsUTF8 for protocol argument

parent 7ce96585
...@@ -148,7 +148,7 @@ print_storage_uri(Client &client, const Storage &storage) ...@@ -148,7 +148,7 @@ print_storage_uri(Client &client, const Storage &storage)
if (uri.empty()) if (uri.empty())
return; return;
if (PathTraitsFS::IsAbsolute(uri.c_str())) { if (PathTraitsUTF8::IsAbsolute(uri.c_str())) {
/* storage points to local directory */ /* storage points to local directory */
if (!client.IsLocal()) if (!client.IsLocal())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment