mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
more rework
This commit is contained in:
@@ -48,7 +48,7 @@ pub unsafe fn dc_smtp_disconnect(smtp: &mut dc_smtp_t) {
|
||||
}
|
||||
}
|
||||
|
||||
pub unsafe fn dc_smtp_is_connected(smtp: *const dc_smtp_t) -> libc::c_int {
|
||||
pub unsafe fn dc_smtp_is_connected(smtp: &dc_smtp_t) -> libc::c_int {
|
||||
if !smtp.etpan.is_null() {
|
||||
1
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user