StorageCommands: use PathTraitsUTF8 for protocol argument

This commit is contained in:
Max Kellermann 2015-03-02 21:22:18 +01:00
parent 7ce96585f5
commit 6ff394bcc9
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ print_storage_uri(Client &client, const Storage &storage)
if (uri.empty())
return;
if (PathTraitsFS::IsAbsolute(uri.c_str())) {
if (PathTraitsUTF8::IsAbsolute(uri.c_str())) {
/* storage points to local directory */
if (!client.IsLocal())