mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +03:00
remove double curly brances
This commit is contained in:
@@ -188,7 +188,6 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if OK_TO_CONTINUE {
|
if OK_TO_CONTINUE {
|
||||||
{
|
|
||||||
/* check the parameters
|
/* check the parameters
|
||||||
---------------------- */
|
---------------------- */
|
||||||
if !addr.is_null() {
|
if !addr.is_null() {
|
||||||
@@ -208,7 +207,6 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if OK_TO_CONTINUE {
|
if OK_TO_CONTINUE {
|
||||||
{
|
|
||||||
if !fingerprint.is_null() {
|
if !fingerprint.is_null() {
|
||||||
if strlen(fingerprint) != 40 {
|
if strlen(fingerprint) != 40 {
|
||||||
(*qr_parsed).state = 400i32;
|
(*qr_parsed).state = 400i32;
|
||||||
@@ -220,7 +218,6 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if OK_TO_CONTINUE {
|
if OK_TO_CONTINUE {
|
||||||
{
|
|
||||||
if !fingerprint.is_null() {
|
if !fingerprint.is_null() {
|
||||||
let peerstate = Peerstate::from_fingerprint(
|
let peerstate = Peerstate::from_fingerprint(
|
||||||
context,
|
context,
|
||||||
@@ -306,11 +303,11 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
|||||||
if !device_msg.is_null() {
|
if !device_msg.is_null() {
|
||||||
dc_add_device_msg(context, chat_id, device_msg);
|
dc_add_device_msg(context, chat_id, device_msg);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(addr as *mut libc::c_void);
|
free(addr as *mut libc::c_void);
|
||||||
|
|||||||
Reference in New Issue
Block a user