mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 02:46:29 +03:00
remove some debugging
This commit is contained in:
@@ -70,7 +70,6 @@ impl Context {
|
||||
}
|
||||
|
||||
pub fn call_cb(&self, event: Event, data1: uintptr_t, data2: uintptr_t) -> uintptr_t {
|
||||
println!("call_cb: called");
|
||||
if let Some(cb) = self.cb {
|
||||
unsafe { cb(self, event, data1, data2) }
|
||||
} else {
|
||||
@@ -181,11 +180,7 @@ pub fn dc_context_new(
|
||||
probe_imap_network: Arc::new(RwLock::new(0)),
|
||||
perform_inbox_jobs_needed: Arc::new(RwLock::new(0)),
|
||||
};
|
||||
println!("context created");
|
||||
info!(context, 0, "context created");
|
||||
context
|
||||
|
||||
|
||||
}
|
||||
|
||||
unsafe fn cb_receive_imf(
|
||||
|
||||
@@ -95,7 +95,6 @@ macro_rules! info {
|
||||
info!($ctx, $data1, $msg,)
|
||||
};
|
||||
($ctx:expr, $data1:expr, $msg:expr, $($args:expr),* $(,)?) => {{
|
||||
println!("xxx");
|
||||
let formatted = format!($msg, $($args),*);
|
||||
let formatted_c = $crate::dc_tools::to_cstring(formatted);
|
||||
$ctx.call_cb($crate::constants::Event::INFO, $data1 as uintptr_t,
|
||||
|
||||
Reference in New Issue
Block a user