mirror of https://gerrit.osmocom.org/gapk
osmo-gapk: fix I/O count check condition
The stdin / stdout operation was broken by a new check condition, introduced by the 15fa605576a81803c57a144231e9e9720aa133a1.
This commit is contained in:
parent
9d2b15dc8a
commit
10076f0acc
|
@ -355,7 +355,7 @@ check_options(struct gapk_state *gs)
|
|||
if (gs->opts.alsa_out)
|
||||
sink_count++;
|
||||
|
||||
if (src_count != 1 || sink_count != 1) {
|
||||
if (src_count > 1 || sink_count > 1) {
|
||||
LOGP(DAPP, LOGL_ERROR, "You have to decide on "
|
||||
"a single input and a single output\n");
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in New Issue