mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
serialize OK_TO_CONTINUE checks (preparing for deintendation)
This commit is contained in:
@@ -205,6 +205,8 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
|||||||
OK_TO_CONTINUE = false;
|
OK_TO_CONTINUE = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
if OK_TO_CONTINUE {
|
if OK_TO_CONTINUE {
|
||||||
if !fingerprint.is_null() {
|
if !fingerprint.is_null() {
|
||||||
if strlen(fingerprint) != 40 {
|
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;
|
OK_TO_CONTINUE = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
if OK_TO_CONTINUE {
|
if OK_TO_CONTINUE {
|
||||||
if !fingerprint.is_null() {
|
if !fingerprint.is_null() {
|
||||||
let peerstate =
|
let peerstate =
|
||||||
|
|||||||
Reference in New Issue
Block a user