We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SubscribeMany
UnsubscribeMany
The code is casting *mut MQTTReasonCodes -> i32 instead of the intended MQTTReasonCodes -> i32
*mut MQTTReasonCodes -> i32
MQTTReasonCodes -> i32
https://github.com/eclipse/paho.mqtt.rust/blob/cf953b937eaa66c436e746dcfde98d2bf61b36ac/src/server_response.rs#L208
-qosv.push(rsp.alt.sub.reasonCodes.add(i) as i32); +qosv.push(*rsp.alt.sub.reasonCodes.add(i) as i32);
https://github.com/eclipse/paho.mqtt.rust/blob/cf953b937eaa66c436e746dcfde98d2bf61b36ac/src/server_response.rs#L227
-qosv.push(rsp.alt.unsub.reasonCodes.add(i) as i32); +qosv.push(*rsp.alt.unsub.reasonCodes.add(i) as i32);
The text was updated successfully, but these errors were encountered:
#216 Deref QoS pointers for SubscribeMany and UnsubscribeMany in serv…
6a992ed
…er response
25059f5
No branches or pull requests
The code is casting
*mut MQTTReasonCodes -> i32
instead of the intendedMQTTReasonCodes -> i32
https://github.com/eclipse/paho.mqtt.rust/blob/cf953b937eaa66c436e746dcfde98d2bf61b36ac/src/server_response.rs#L208
https://github.com/eclipse/paho.mqtt.rust/blob/cf953b937eaa66c436e746dcfde98d2bf61b36ac/src/server_response.rs#L227
The text was updated successfully, but these errors were encountered: