config/Block: rename GetBlockPath() to GetPath()

This commit is contained in:
Max Kellermann
2016-10-28 23:07:26 +02:00
parent f6f2a3b366
commit d8bcdca55a
7 changed files with 15 additions and 15 deletions

View File

@@ -183,7 +183,7 @@ FifoOutput::Create(const ConfigBlock &block, Error &error)
{
FifoOutput *fd = new FifoOutput();
fd->path = block.GetBlockPath("path", error);
fd->path = block.GetPath("path", error);
if (fd->path.IsNull()) {
delete fd;

View File

@@ -128,7 +128,7 @@ RecorderOutput::Configure(const ConfigBlock &block, Error &error)
return false;
}
path = block.GetBlockPath("path", error);
path = block.GetPath("path", error);
if (error.IsDefined())
return false;