diff --git a/src/iofunc.c b/src/iofunc.c index 40621af90..6be8c79b5 100644 --- a/src/iofunc.c +++ b/src/iofunc.c @@ -665,7 +665,7 @@ int HAMLIB_API read_string(hamlib_port_t *p, struct timeval tv, tv_timeout, start_time, end_time, elapsed_time; int total_count = 0; - rig_debug(RIG_DEBUG_TRACE, "%s called, rx_max=%ld\n", __func__, rxmax); + rig_debug(RIG_DEBUG_TRACE, "%s called, rxmax=%ld\n", __func__, rxmax); if (!p || !rxbuffer) { @@ -766,7 +766,6 @@ int HAMLIB_API read_string(hamlib_port_t *p, } ++total_count; - rig_debug(RIG_DEBUG_TRACE, "%s: total_count=%d rxmax-1=%ld\n", __func__, total_count, rxmax-1); if (stopset && memchr(stopset, rxbuffer[total_count - 1], stopset_len)) {