mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-08 08:40:13 +08:00
Fix 3239. Fixed replace mistake in lib/thread_mosq.c
Signed-off-by: mzymon <mzymon@proton.me>
This commit is contained in:
parent
a111d92970
commit
e99a97b294
@ -83,8 +83,7 @@ int mosquitto_loop_stop(struct mosquitto *mosq, bool force)
|
||||
|
||||
#ifdef HAVE_PTHREAD_CANCEL
|
||||
if(force){
|
||||
COMPAT_pthread_cancel()
|
||||
(mosq->thread_id);
|
||||
COMPAT_pthread_cancel(mosq->thread_id);
|
||||
}
|
||||
#endif
|
||||
COMPAT_pthread_join(mosq->thread_id, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user