Commit 3befdbec authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

changed function pstream_t::pstreamOpenReadFile to take a char* argument...

changed function pstream_t::pstreamOpenReadFile to take a char* argument instead of the whole argument_t
parent d914aec0
......@@ -556,9 +556,9 @@ void pstream_t::createFilelist(const char * p_args)
}
void
pstream_t::pstreamOpenReadFile(const argument_t *argument)
pstream_t::pstreamOpenReadFile(const char* p_args)
{
createFilelist(argument->args);
createFilelist(p_args);
std::string filename;
......@@ -569,7 +569,7 @@ pstream_t::pstreamOpenReadFile(const argument_t *argument)
}
else
{
filename = std::string(argument->args);
filename = std::string(p_args);
}
if (PSTREAM_Debug)
......@@ -629,7 +629,7 @@ pstreamOpenRead(const argument_t *argument)
}
else
{
pstreamptr->pstreamOpenReadFile(argument);
pstreamptr->pstreamOpenReadFile(argument->args);
}
if (pstreamID < 0)
......
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