mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Merge pull request #6 from ralphtheninja/master
print out data2 for Event::ERROR_NETWORK as well
This commit is contained in:
@@ -36,7 +36,7 @@ fn cb(_ctx: *mut dc_context_t, event: Event, data1: u64, data2: u64) -> u64 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Event::INFO | Event::WARNING | Event::ERROR => {
|
Event::INFO | Event::WARNING | Event::ERROR | Event::ERROR_NETWORK => {
|
||||||
println!(
|
println!(
|
||||||
" {}",
|
" {}",
|
||||||
unsafe { CStr::from_ptr(data2 as *const _) }
|
unsafe { CStr::from_ptr(data2 as *const _) }
|
||||||
|
|||||||
Reference in New Issue
Block a user