From cc346856408218587ecc71ce53b84707f7713dcc Mon Sep 17 00:00:00 2001 From: TheWitness Date: Tue, 31 Mar 2020 20:16:55 -0400 Subject: [PATCH] One additional minor fix for issue #151 --- poller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poller.c b/poller.c index f566f802..0b245b06 100644 --- a/poller.c +++ b/poller.c @@ -1175,7 +1175,7 @@ void poll_host(int host_id, int host_thread, int last_host_thread, int host_data /* is valid output, continue */ } else { /* remove double or single quotes from string */ - snprintf(temp_result, RESULTS_BUFFER, "%s", snmp_oids[j].result); + snprintf(temp_result, RESULTS_BUFFER, "%s", strip_alpha(trim(snmp_oids[j].result))); snprintf(snmp_oids[j].result , RESULTS_BUFFER, "%s", temp_result); /* detect erroneous non-numeric result */