]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imapc: Change function signature prefix to imapc_resp_text_code_parse
authorMarkus Valentin <markus.valentin@open-xchange.com>
Wed, 26 May 2021 08:31:26 +0000 (10:31 +0200)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Wed, 26 May 2021 08:36:36 +0000 (10:36 +0200)
src/lib-storage/index/imapc/imapc-list.c
src/lib-storage/index/imapc/imapc-storage.c
src/lib-storage/index/imapc/imapc-storage.h

index 0fbadd83d856215df9c8eefcbcd721d087cd9771..2517776d40d338496cad965dd76b927dc9166c21 100644 (file)
@@ -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 {
index 0cc85ccb944f75fc2f1f095a598a33c3ed84cb80..60f718684f7be03e2cd4f288d07428588c6bd3a4 100644 (file)
@@ -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 {
index 62ddc4138127237311309682b762010c174a7342..f14d1e102078dfdf984997f6e80409332fe34b36 100644 (file)
@@ -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);