StorageCommands: use PathTraitsUTF8 for protocol argument
This commit is contained in:
@@ -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())
|
||||||
|
Reference in New Issue
Block a user