diff --git a/src/dc_qr.rs b/src/dc_qr.rs index edcd2011e..ba5e62538 100644 --- a/src/dc_qr.rs +++ b/src/dc_qr.rs @@ -205,6 +205,8 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc OK_TO_CONTINUE = false; } } + } + { if OK_TO_CONTINUE { if !fingerprint.is_null() { if strlen(fingerprint) != 40 { @@ -216,6 +218,8 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc OK_TO_CONTINUE = false; } } + } + { if OK_TO_CONTINUE { if !fingerprint.is_null() { let peerstate =