Skip to content

Commit

Permalink
One additional minor fix for issue Cacti#151
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Apr 1, 2020
1 parent bdfc997 commit cc34685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poller.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit cc34685

Please sign in to comment.