Fix packet read single for an EAGAIN case

This commit is contained in:
Roger A. Light
2025-03-26 19:35:30 +00:00
parent b7341d734a
commit c75f23839b
+2
View File
@@ -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