From 2061ab92a8b69e8473938a57396d574752d8e0c3 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sun, 6 Feb 2022 06:18:04 -0600 Subject: [PATCH] Align some more RETURNFUNC statements --- rigs/kenwood/kenwood.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index a35203ed2..b59a08047 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -612,7 +612,7 @@ int kenwood_safe_transaction(RIG *rig, const char *cmd, char *buf, if (!cmd) { - RETURNFUNC(-RIG_EINVAL); + RETURNFUNC2(-RIG_EINVAL); } memset(buf, 0, buf_size); @@ -632,7 +632,7 @@ int kenwood_safe_transaction(RIG *rig, const char *cmd, char *buf, if (err != RIG_OK) /* return immediately on error as any retries handled at lower level */ { - RETURNFUNC(err); + RETURNFUNC2(err); } length = strlen(buf); @@ -651,7 +651,7 @@ int kenwood_safe_transaction(RIG *rig, const char *cmd, char *buf, } while (err != RIG_OK && ++retry < rig->state.rigport.retry); - RETURNFUNC(err); + RETURNFUNC2(err); } rmode_t kenwood2rmode(unsigned char mode, const rmode_t mode_table[])