Apply typos from code review

Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
Floris Bruynooghe
2023-03-07 12:23:30 +01:00
committed by GitHub
parent d73d56c399
commit b6c24932a7

View File

@@ -2673,7 +2673,7 @@ dc_backup_provider_t* dc_backup_provider_new (dc_context_t* context);
* authentication for both the provider and the recipient. * authentication for both the provider and the recipient.
* *
* The scanning device should call the scanned text to dc_check_qr(). If * The scanning device should call the scanned text to dc_check_qr(). If
* dc_check_qr() returns DC_QR_BACKUP the backup transfer can be started using * dc_check_qr() returns DC_QR_BACKUP, the backup transfer can be started using
* dc_get_backup(). * dc_get_backup().
* *
* @memberof dc_backup_provider_t * @memberof dc_backup_provider_t
@@ -2681,7 +2681,7 @@ dc_backup_provider_t* dc_backup_provider_new (dc_context_t* context);
* @param backup_provider The backup provider object as created by * @param backup_provider The backup provider object as created by
* dc_backup_provider_new(). * dc_backup_provider_new().
* @return The text that should be put in the QR code. * @return The text that should be put in the QR code.
* On errors and empty QR code is returned, NULL is never returned. * On errors an empty string is returned, NULL is never returned.
* the returned string must be released using dc_str_unref() after usage. * the returned string must be released using dc_str_unref() after usage.
*/ */
char* dc_backup_provider_qr (dc_context_t* context, const dc_backup_provider_t* backup_provider); char* dc_backup_provider_qr (dc_context_t* context, const dc_backup_provider_t* backup_provider);
@@ -2698,7 +2698,7 @@ char* dc_backup_provider_qr (dc_context_t* context, const dc_backup_provider_t*
* @param backup_provider The backup provider object as created by * @param backup_provider The backup provider object as created by
* dc_backup_provider_new(). * dc_backup_provider_new().
* @return The QR code rendered as SVG. * @return The QR code rendered as SVG.
* On errors and empty QR code is returned, NULL is never returned. * On errors an empty string is returned, NULL is never returned.
* the returned string must be released using dc_str_unref() after usage. * the returned string must be released using dc_str_unref() after usage.
*/ */
char * dc_backup_provider_qr_svg (dc_context_t* context, const dc_backup_provider_t* backup_provider); char * dc_backup_provider_qr_svg (dc_context_t* context, const dc_backup_provider_t* backup_provider);