File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3155,15 +3155,15 @@ void dc_accounts_maybe_network_lost (dc_accounts_t* accounts);
3155
3155
* Perform a background fetch for all accounts in parallel with a timeout.
3156
3156
* Pauses the scheduler, fetches messages from imap and then resumes the scheduler.
3157
3157
*
3158
- * dc_accounts_background_fetch_with_timeout () was created for the iOS Background fetch.
3158
+ * dc_accounts_background_fetch () was created for the iOS Background fetch.
3159
3159
*
3160
3160
* @memberof dc_accounts_t
3161
3161
* @param timeout The timeout in seconds
3162
3162
* @return Return 1 on success and 0 on failure (like timeout)
3163
3163
* But note that this only indicates that the fetch of all accounts was done before the timeout.
3164
3164
* To know whether it worked you need to look for the events.
3165
3165
*/
3166
- int dc_accounts_background_fetch_with_timeout (dc_accounts_t * accounts , uint64_t timeout );
3166
+ int dc_accounts_background_fetch (dc_accounts_t * accounts , uint64_t timeout );
3167
3167
3168
3168
/**
3169
3169
* Create the event emitter that is used to receive events.
Original file line number Diff line number Diff line change @@ -4899,12 +4899,12 @@ pub unsafe extern "C" fn dc_accounts_maybe_network_lost(accounts: *mut dc_accoun
4899
4899
}
4900
4900
4901
4901
#[ no_mangle]
4902
- pub unsafe extern "C" fn dc_accounts_background_fetch_with_timeout (
4902
+ pub unsafe extern "C" fn dc_accounts_background_fetch (
4903
4903
accounts : * mut dc_accounts_t ,
4904
4904
timeout_in_seconds : u64 ,
4905
4905
) -> libc:: c_int {
4906
4906
if accounts. is_null ( ) || timeout_in_seconds <= 2 {
4907
- eprintln ! ( "ignoring careless call to dc_accounts_background_fetch_with_timeout ()" ) ;
4907
+ eprintln ! ( "ignoring careless call to dc_accounts_background_fetch ()" ) ;
4908
4908
return 0 ;
4909
4909
}
4910
4910
You can’t perform that action at this time.
0 commit comments