tests/osmo-pcap-test/osmux_test: Fix return condition check for osmux_xfrm_input()

According to API doc and implementation, it never returns >1.
Do as done in all other places where this API is used, that this check
for >0.

Change-Id: If23dfecb566f590b7a898356469df6e322f57653
This commit is contained in:
Pau Espin 2022-09-23 17:38:28 +02:00
parent 668c804197
commit 0d52cdfe77
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ static int pcap_test_run(struct msgb *msg)
if (ccid < 0)
register_ccid(rtph->ssrc);
while ((ret = osmux_xfrm_input(&h_input, msg, ccid)) > 1) {
while ((ret = osmux_xfrm_input(&h_input, msg, ccid)) > 0) {
/* batch full, deliver it */
osmux_xfrm_input_deliver(&h_input);
}