From 7a5bcf0f4afdf46b69054046b3a853bdc723dd79 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sun, 13 Feb 2022 16:15:14 -0600 Subject: [PATCH] Balance RETURNFUNC2 in network.c --- src/network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network.c b/src/network.c index 712048189..198fd66a2 100644 --- a/src/network.c +++ b/src/network.c @@ -706,7 +706,7 @@ static int multicast_publisher_write_packet_header(RIG *rig, if (rs->multicast_publisher_priv_data == NULL) { // Silently ignore if multicast publisher is not enabled - RETURNFUNC(RIG_OK); + RETURNFUNC2(RIG_OK); } mcast_publisher_priv = (multicast_publisher_priv_data *) @@ -719,10 +719,10 @@ static int multicast_publisher_write_packet_header(RIG *rig, if (result != RIG_OK) { - RETURNFUNC(result); + RETURNFUNC2(result); } - RETURNFUNC(RIG_OK); + RETURNFUNC2(RIG_OK); } int network_publish_rig_poll_data(RIG *rig)