some typos

This commit is contained in:
Floris Bruynooghe
2023-03-02 09:39:50 +01:00
parent 5762fbb9a7
commit 2d20812652
2 changed files with 2 additions and 2 deletions

View File

@@ -2649,7 +2649,7 @@ void dc_str_unref (char* str);
* by a QR-code. The backup contains the entire state of the account
* including credentials. This can be used to setup a new device.
*
* Once this function returns, the backup is being offered to remove devices.
* Once this function returns, the backup is being offered to remote devices.
* To wait until one device received the backup, use
* dc_backup_provider_wait(). Alternatively abort the operation using
* dc_stop_ongoing_process().

View File

@@ -4146,7 +4146,7 @@ pub unsafe extern "C" fn dc_backup_provider_new(
context: *mut dc_context_t,
) -> *mut dc_backup_provider_t {
if context.is_null() {
eprintln!("ignoring careless call to dc_send_backup()");
eprintln!("ignoring careless call to dc_backup_provider_new()");
return ptr::null_mut();
}
let ctx = &*context;