Update deltachat-ffi/src/lib.rs

Co-Authored-By: Alexander Krotov <ilabdsf@gmail.com>
This commit is contained in:
Floris Bruynooghe
2020-02-04 09:05:12 +01:00
committed by Floris Bruynooghe
parent 98b3151c5f
commit 01b55d1d29

View File

@@ -699,7 +699,7 @@ pub unsafe extern "C" fn _dc_save_self_keypair(
secret_data: *const libc::c_char,
) -> i32 {
if context.is_null() {
eprintln!("ignoring careless call to dc_save_keypair()");
eprintln!("ignoring careless call to _dc_save_self_keypair()");
return 0;
}
let ffi_context = &*context;