Skip to content

Commit

Permalink
QA: Fixing #312 - Complex SNMP Results
Browse files Browse the repository at this point in the history
Spine won't work with complex SNMP results #v2
  • Loading branch information
TheWitness committed Aug 24, 2023
1 parent ec7faa8 commit cb4e402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poller.c
Expand Up @@ -1499,7 +1499,7 @@ void poll_host(int device_counter, int host_id, int host_thread, int host_thread
/* 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 cb4e402

Please sign in to comment.