New commit. Much changes. Very impress. Wow.
This commit is contained in:
parent
6eb419202c
commit
eb041ce5b4
5 changed files with 65 additions and 9 deletions
2
siahs.c
2
siahs.c
|
@ -55,7 +55,7 @@ STATUS parse_siahs_message(TALLOC_CTX *mem_ctx, const char *pkt_prom, const char
|
|||
}
|
||||
|
||||
/* Dispatch all configured event handlers */
|
||||
for (i = 0; conf->event_handlers[i] != NULL; i++) {
|
||||
for (i = 0; i < conf->event_handler_cnt; i++) {
|
||||
conf->event_handlers[i](message, prom, code, ptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue