test/DumpDecoderClient: allow overriding GetCommand()

This commit is contained in:
Max Kellermann
2020-02-04 21:55:21 +01:00
parent 8e4cb3217e
commit 6f579ddc95
2 changed files with 3 additions and 3 deletions

@ -101,7 +101,7 @@ DumpDecoderClient::SubmitData(gcc_unused InputStream *is,
}
gcc_unused ssize_t nbytes = write(STDOUT_FILENO, data, datalen);
return DecoderCommand::NONE;
return GetCommand();
}
DecoderCommand
@ -113,7 +113,7 @@ DumpDecoderClient::SubmitTag(gcc_unused InputStream *is,
for (const auto &i : tag)
fprintf(stderr, " %s=%s\n", tag_item_names[i.type], i.value);
return DecoderCommand::NONE;
return GetCommand();
}
static void