From 25b0a26ff9fcfe3e2e33463821449ed63a0b0031 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 26 Aug 2019 21:50:33 +0200 Subject: [PATCH] fix(ffi): handle result from location deletion --- deltachat-ffi/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ffi/src/lib.rs b/deltachat-ffi/src/lib.rs index ca255ae2b..b7b1621d4 100644 --- a/deltachat-ffi/src/lib.rs +++ b/deltachat-ffi/src/lib.rs @@ -1096,7 +1096,7 @@ pub unsafe extern "C" fn dc_delete_all_locations(context: *mut dc_context_t) { assert!(!context.is_null()); let context = &*context; - location::delete_all(context); + location::delete_all(context).log_err(context, "Failed to delete locations"); } // dc_array_t