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 @@ -437,7 +437,7 @@ impl Context {
437
437
self . scheduler . maybe_network ( ) . await ;
438
438
}
439
439
440
- /// Do a background fetch
440
+ /// Does a background fetch
441
441
/// pauses the scheduler and does one imap fetch, then unpauses and returns
442
442
pub async fn background_fetch ( & self ) -> Result < ( ) > {
443
443
if !( self . is_configured ( ) . await ?) {
@@ -464,7 +464,7 @@ impl Context {
464
464
465
465
// update quota (to send warning if full)
466
466
if let Err ( err) = self . update_recent_quota ( & mut connection) . await {
467
- warn ! ( self , "Failed to update quota: {:#}." , err ) ;
467
+ warn ! ( self , "Failed to update quota: {err :#}." ) ;
468
468
}
469
469
470
470
info ! (
You can’t perform that action at this time.
0 commit comments