From: Markus Valentin Date: Wed, 26 May 2021 08:31:26 +0000 (+0200) Subject: imapc: Change function signature prefix to imapc_resp_text_code_parse X-Git-Tag: 2.3.16~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa47e36587c22a45883b4db0c8cb3b5d65bcd36c;p=thirdparty%2Fdovecot%2Fcore.git imapc: Change function signature prefix to imapc_resp_text_code_parse --- diff --git a/src/lib-storage/index/imapc/imapc-list.c b/src/lib-storage/index/imapc/imapc-list.c index 0fbadd83d8..2517776d40 100644 --- a/src/lib-storage/index/imapc/imapc-list.c +++ b/src/lib-storage/index/imapc/imapc-list.c @@ -136,7 +136,7 @@ imapc_list_copy_error_from_reply(struct imapc_mailbox_list *list, { enum mail_error error; - if (imap_resp_text_code_parse(reply->resp_text_key, &error)) { + if (imapc_resp_text_code_parse(reply->resp_text_key, &error)) { mailbox_list_set_error(&list->list, error, reply->text_without_resp); } else { diff --git a/src/lib-storage/index/imapc/imapc-storage.c b/src/lib-storage/index/imapc/imapc-storage.c index 0cc85ccb94..60f718684f 100644 --- a/src/lib-storage/index/imapc/imapc-storage.c +++ b/src/lib-storage/index/imapc/imapc-storage.c @@ -63,7 +63,7 @@ static int imapc_mailbox_run_status(struct mailbox *box, enum mailbox_status_items items, struct mailbox_status *status_r); -bool imap_resp_text_code_parse(const char *str, enum mail_error *error_r) +bool imapc_resp_text_code_parse(const char *str, enum mail_error *error_r) { unsigned int i; @@ -105,7 +105,7 @@ void imapc_copy_error_from_reply(struct imapc_storage *storage, { enum mail_error error; - if (imap_resp_text_code_parse(reply->resp_text_key, &error)) { + if (imapc_resp_text_code_parse(reply->resp_text_key, &error)) { mail_storage_set_error(&storage->storage, error, reply->text_without_resp); } else { diff --git a/src/lib-storage/index/imapc/imapc-storage.h b/src/lib-storage/index/imapc/imapc-storage.h index 62ddc41381..f14d1e1020 100644 --- a/src/lib-storage/index/imapc/imapc-storage.h +++ b/src/lib-storage/index/imapc/imapc-storage.h @@ -187,7 +187,7 @@ int imapc_mailbox_select(struct imapc_mailbox *mbox); void imap_mailbox_select_finish(struct imapc_mailbox *mbox); bool imapc_mailbox_has_modseqs(struct imapc_mailbox *mbox); -bool imap_resp_text_code_parse(const char *str, enum mail_error *error_r); +bool imapc_resp_text_code_parse(const char *str, enum mail_error *error_r); void imapc_copy_error_from_reply(struct imapc_storage *storage, enum mail_error default_error, const struct imapc_command_reply *reply);