diff options
Diffstat (limited to 'ldpd/lde.c')
| -rw-r--r-- | ldpd/lde.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/ldpd/lde.c b/ldpd/lde.c index df64f908ea..67b695150e 100644 --- a/ldpd/lde.c +++ b/ldpd/lde.c @@ -415,8 +415,8 @@ lde_dispatch_imsg(struct thread *thread)  		imsg_event_add(iev);  	else {  		/* this pipe is dead, so remove the event handlers and exit */ -		THREAD_READ_OFF(iev->ev_read); -		THREAD_WRITE_OFF(iev->ev_write); +		thread_cancel(&iev->ev_read); +		thread_cancel(&iev->ev_write);  		lde_shutdown();  	} @@ -661,8 +661,8 @@ lde_dispatch_parent(struct thread *thread)  		imsg_event_add(iev);  	else {  		/* this pipe is dead, so remove the event handlers and exit */ -		THREAD_READ_OFF(iev->ev_read); -		THREAD_WRITE_OFF(iev->ev_write); +		thread_cancel(&iev->ev_read); +		thread_cancel(&iev->ev_write);  		lde_shutdown();  	}  | 
