mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-21 07:13:46 +08:00
Fix packet read single for an EAGAIN case
This commit is contained in:
@@ -406,6 +406,8 @@ static int packet__read_single(struct mosquitto *mosq, enum mosquitto_client_sta
|
||||
#else
|
||||
UNUSED(state);
|
||||
#endif
|
||||
}else{
|
||||
return MOSQ_ERR_SUCCESS;
|
||||
}
|
||||
}
|
||||
/* remaining_count is the number of bytes that the remaining_length
|
||||
|
||||
Reference in New Issue
Block a user