From 669476afd3d16e326904128471bd105e5e3ca761 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 10 Jul 2019 12:02:36 +0200 Subject: [PATCH] fix comment --- src/dc_receive_imf.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dc_receive_imf.rs b/src/dc_receive_imf.rs index 0f9520d40..ede7e561e 100644 --- a/src/dc_receive_imf.rs +++ b/src/dc_receive_imf.rs @@ -66,10 +66,10 @@ pub unsafe fn dc_receive_imf( let mut create_event_to_send = Some(Event::MSGS_CHANGED); let mut rr_event_to_send = Vec::new(); let mut txt_raw: *mut libc::c_char = 0 as *mut libc::c_char; - let to_ids: *mut dc_array_t = dc_array_new(16); - // XXX in theory the three carray's could be NULL pointer - // but we want to get rid of carray (and dc_array) anyway in favor of Rust Vectors + // XXX converting the below "to_ids" to a Vec quickly leads to lots of changes + // so we keep it as a dc_array for now + let to_ids: *mut dc_array_t = dc_array_new(16); assert!(!to_ids.is_null()); info!( context,