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 @@ -3152,7 +3152,7 @@ void dc_accounts_maybe_network_lost (dc_accounts_t* accounts);
3152
3152
3153
3153
3154
3154
/**
3155
- * Perform a Background fetch for all accounts in parallel with a timeout.
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
3158
* dc_accounts_background_fetch_with_timeout() was created for the iOS Background fetch.
@@ -3161,7 +3161,7 @@ void dc_accounts_maybe_network_lost (dc_accounts_t* accounts);
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
- * To know wether it worked you need to look for the events.
3164
+ * To know whether it worked you need to look for the events.
3165
3165
*/
3166
3166
int dc_accounts_background_fetch_with_timeout (dc_accounts_t * accounts , uint64_t timeout );
3167
3167
Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ impl Context {
441
441
self . scheduler . maybe_network ( ) . await ;
442
442
}
443
443
444
- /// Do a background fetch
444
+ /// Does a background fetch
445
445
/// pauses the scheduler and does one imap fetch, then unpauses and returns
446
446
pub async fn background_fetch ( & self ) -> Result < ( ) > {
447
447
if !( self . is_configured ( ) . await ?) {
@@ -468,7 +468,7 @@ impl Context {
468
468
469
469
// update quota (to send warning if full)
470
470
if let Err ( err) = self . update_recent_quota ( & mut connection) . await {
471
- warn ! ( self , "Failed to update quota: {:#}." , err ) ;
471
+ warn ! ( self , "Failed to update quota: {err :#}." ) ;
472
472
}
473
473
474
474
info ! (
You can’t perform that action at this time.
0 commit comments