remove assert

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-05-16 16:11:45 +08:00
parent 5f0f4957b9
commit 31b96a44de
2 changed files with 5 additions and 3 deletions

View File

@@ -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 {