diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-14 16:51:52 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-14 16:51:52 -0400 |
commit | 34f5c6886f3e02558101a19cffb479c480ef646e (patch) | |
tree | 629b959667967299ca7969f3379b5fa58869e9c3 /tests | |
parent | fd66babbab0dc2f63972a16e7a148cff4621ed71 (diff) | |
download | b4-34f5c6886f3e02558101a19cffb479c480ef646e.tar.gz |
Don't try to read stdin multiple times
With multiple entry points for calling get_msgid(), we may end up trying
to read stdin multiple times. Call it once to ensure that this doesn't
happen.
Suggested-by: Morten Linderud <foxboron@archlinux.org>
Improved-by: Kyle Meyer <kyle@kyleam.com>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Link: https://lore.kernel.org/tools/87im4fi55o.fsf@kyleam.com
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions