[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 79f58bce6f05d514ca8be
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-03-09 05:43:54
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 79f58bce6f05d514ca8be88f57a750b8f2ed0059 (commit) from 0f0705d014d4e400761bd5d275e7c9ab1b374380 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 79f58bce6f05d514ca8be88f57a750b8f2ed0059 Author: Michael Black W9MDB <mdb...@ya...> Date: Mon Mar 8 23:42:35 2021 -0600 Finish rig_get_vfo_list and \get_vfo_list https://github.com/Hamlib/Hamlib/issues/577 diff --git a/src/rig.c b/src/rig.c index dd77e10c..e0c9d57d 100644 --- a/src/rig.c +++ b/src/rig.c @@ -5817,15 +5817,12 @@ int HAMLIB_API rig_get_vfo_list(RIG *rig, char *buf, int buflen) { ENTERFUNC; - // to be completed if (CHECK_RIG_ARG(rig)) { RETURNFUNC(-RIG_EINVAL); } - char s[256]; - rig_sprintf_vfo(s, sizeof(s), rig->state.vfo_list); - + rig_sprintf_vfo(buf, buflen - 1, rig->state.vfo_list); RETURNFUNC(RIG_OK); } ----------------------------------------------------------------------- Summary of changes: src/rig.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |