mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 00:54:01 +08:00
Fixed threaded enum lost in merges
Change was part of the original commite8185ddaa7"[166] Don't cancel external threads." and then lost during code reorganizing and subsequent merge, commits970ba58da681cb7ab547Signed-off-by: Maksym Ruchko <mruchko@advantech-bb.com>
This commit is contained in:
committed by
Roger A. Light
parent
e179e751c4
commit
f6943b006a
+1
-1
@@ -141,7 +141,7 @@ int packet__queue(struct mosquitto *mosq, struct mosquitto__packet *packet)
|
||||
#endif
|
||||
}
|
||||
|
||||
if(mosq->in_callback == false && mosq->threaded == false){
|
||||
if(mosq->in_callback == false && mosq->threaded == mosq_ts_none){
|
||||
return packet__write(mosq);
|
||||
}else{
|
||||
return MOSQ_ERR_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user