diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2023-12-11 10:26:41 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-12-11 10:26:41 +0100 |
commit | c8a1b17a761162a2437b6cedb26afb26a9fb4fc1 (patch) | |
tree | 6fcf8f7aa4f70e79b3760032cc761821ada211eb | |
parent | dfea4613c1f2360950fffcad3b97600565f5f76c (diff) |
acd: Fix spelling of destroy
-rw-r--r-- | ell/acd.c | 4 | ||||
-rw-r--r-- | ell/acd.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -518,14 +518,14 @@ LIB_EXPORT void l_acd_destroy(struct l_acd *acd) LIB_EXPORT bool l_acd_set_debug(struct l_acd *acd, l_acd_debug_cb_t function, - void *user_data, l_acd_destroy_func_t destory) + void *user_data, l_acd_destroy_func_t destroy) { if (unlikely(!acd)) return false; acd->debug_handler = function; acd->debug_data = user_data; - acd->debug_destroy = destory; + acd->debug_destroy = destroy; return true; } @@ -40,7 +40,7 @@ bool l_acd_set_event_handler(struct l_acd *acd, l_acd_event_func_t cb, bool l_acd_stop(struct l_acd *acd); void l_acd_destroy(struct l_acd *acd); bool l_acd_set_debug(struct l_acd *acd, l_acd_debug_cb_t function, - void *user_data, l_acd_destroy_func_t destory); + void *user_data, l_acd_destroy_func_t destroy); bool l_acd_set_skip_probes(struct l_acd *acd, bool skip); bool l_acd_set_defend_policy(struct l_acd *acd, enum l_acd_defend_policy policy); |