remove assert
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
5f0f4957b9
commit
31b96a44de
2 changed files with 5 additions and 3 deletions
|
|
@ -311,7 +311,7 @@ fn request_plugin_sign(id: String, msg_to_rustdesk: MsgToRustDesk) -> PluginRetu
|
|||
&[],
|
||||
) {
|
||||
Ok(ret) => {
|
||||
assert!(!ret.msg.is_null());
|
||||
debug_assert!(!ret.msg.is_null(), "msg is null");
|
||||
let msg = cstr_to_string(ret.msg).unwrap_or_default();
|
||||
free_c_ptr(ret.msg as _);
|
||||
if ret.code == super::errno::ERR_SUCCESS {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue