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 @@ -4883,12 +4883,12 @@ pub unsafe extern "C" fn dc_accounts_maybe_network_lost(accounts: *mut dc_accoun
4883
4883
}
4884
4884
4885
4885
#[ no_mangle]
4886
- pub unsafe extern "C" fn dc_accounts_background_fetch_with_timeout (
4886
+ pub unsafe extern "C" fn dc_accounts_background_fetch (
4887
4887
accounts : * mut dc_accounts_t ,
4888
4888
timeout_in_seconds : u64 ,
4889
4889
) -> libc:: c_int {
4890
4890
if accounts. is_null ( ) || timeout_in_seconds <= 2 {
4891
- eprintln ! ( "ignoring careless call to dc_accounts_background_fetch_with_timeout ()" ) ;
4891
+ eprintln ! ( "ignoring careless call to dc_accounts_background_fetch ()" ) ;
4892
4892
return 0 ;
4893
4893
}
4894
4894
You can’t perform that action at this time.
0 commit comments