summaryrefslogtreecommitdiffstats
path: root/lib/zlog_5424.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-10 15:08:37 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commit332beb64b886ee811ae0df05f1f3f21628c100b7 (patch)
tree95dfe35b6a90082d4ce572aeb2d46c22ff53564e /lib/zlog_5424.c
parent*: Convert thread_add_XXX functions to event_add_XXX (diff)
downloadfrr-332beb64b886ee811ae0df05f1f3f21628c100b7.tar.xz
frr-332beb64b886ee811ae0df05f1f3f21628c100b7.zip
*: Convert thread_cancelXXX to event_cancelXXX
Modify the code base so that thread_cancel becomes event_cancel Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zlog_5424.c')
-rw-r--r--lib/zlog_5424.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlog_5424.c b/lib/zlog_5424.c
index 7bfc89bb2..2a0e6aff8 100644
--- a/lib/zlog_5424.c
+++ b/lib/zlog_5424.c
@@ -1053,7 +1053,7 @@ bool zlog_5424_apply_dst(struct zlog_cfg_5424 *zcf)
{
int fd = -1;
- thread_cancel(&zcf->t_reconnect);
+ event_cancel(&zcf->t_reconnect);
if (zcf->prio_min != ZLOG_DISABLED)
fd = zlog_5424_open(zcf, -1);
@@ -1106,7 +1106,7 @@ bool zlog_5424_rotate(struct zlog_cfg_5424 *zcf)
if (!zcf->active)
return true;
- thread_cancel(&zcf->t_reconnect);
+ event_cancel(&zcf->t_reconnect);
/* need to retain the socket type because it also influences
* other fields (packets) and we can't atomically swap these