Skip to content

Commit

Permalink
Fix variable size
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Aug 22, 2024
1 parent 7463fff commit c28bc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NtopngLuaContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ NtopngLuaContext::NtopngLuaContext() {
NtopngLuaContext::~NtopngLuaContext() {
if (snmpBatch) delete snmpBatch;

for (u_int8_t slot_id = 0; slot_id < MAX_NUM_ASYNC_SNMP_ENGINES; slot_id++) {
for (u_int16_t slot_id = 0; slot_id < MAX_NUM_ASYNC_SNMP_ENGINES; slot_id++) {
if (snmpAsyncEngine[slot_id] != NULL)
delete snmpAsyncEngine[slot_id];
}
Expand Down

0 comments on commit c28bc99

Please sign in to comment.