refact register_breakdown_handler
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
c44843c96a
commit
b733ad9379
19 changed files with 101 additions and 108 deletions
|
|
@ -492,7 +492,7 @@ pub mod client {
|
|||
let mut option = SHMEM.lock().unwrap();
|
||||
let shmem = option.as_mut().unwrap();
|
||||
unsafe {
|
||||
libc::memset(shmem.as_ptr() as _, 0, shmem.len() as _);
|
||||
hbb_common::libc::memset(shmem.as_ptr() as _, 0, shmem.len() as _);
|
||||
}
|
||||
drop(option);
|
||||
match para {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue