]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
global: Fix spelling
authorluz.paz <luzpaz@users.noreply.github.com>
Thu, 4 Oct 2018 22:52:16 +0000 (18:52 -0400)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 28 Feb 2022 11:01:22 +0000 (11:01 +0000)
Found via `codespell -q 3`

29 files changed:
doc/man/doveadm-rebuild.1.in
src/auth/auth-request-handler.c
src/director/director-connection.c
src/director/mail-host.c
src/imap-urlauth/imap-urlauth.c
src/lib-http/http-client-private.h
src/lib-http/http-server.h
src/lib-http/test-http-client-errors.c
src/lib-http/test-http-payload.c
src/lib-index/mail-index-transaction-finish.c
src/lib-index/mail-index.h
src/lib-index/mail-transaction-log-file.c
src/lib-index/mail-transaction-log.c
src/lib-master/master-service.c
src/lib-smtp/smtp-client.h
src/lib-smtp/smtp-server-cmd-auth.c
src/lib-smtp/smtp-server-cmd-mail.c
src/lib-smtp/smtp-server-cmd-rcpt.c
src/lib-smtp/smtp-server-cmd-xclient.c
src/lib-smtp/smtp-server.h
src/lib-smtp/test-smtp-submit.c
src/lib-sql/sql-api.h
src/lib-ssl-iostream/iostream-openssl.c
src/lib-storage/index/index-search-mime.c
src/lib-storage/index/index-sync-pvt.c
src/lib-storage/list/mailbox-list-delete.h
src/lib-storage/list/mailbox-list-index-iter.c
src/lib/net.c
src/lib/printf-format-fix.c

index d8261b62a3b47c67833a43db6f33d774c29ccb00..18ab49f1408ced532c21c3e2853386bce025720c 100644 (file)
@@ -63,7 +63,7 @@ the given
 .PP
 In the fourth form, only matching mails of the given
 .IR user (s)
-will be rebuilded
+will be rebuilt
 .\"------------------------------------------------------------------------
 @INCLUDE:global-options-formatter@
 .\" --- command specific options --- "/.
index f9cbd34e81ee31547918c85321c1993c8d76f028..73053a8b5d58b62ce5f91f4dc22c7fd36a64d53d 100644 (file)
@@ -640,7 +640,7 @@ bool auth_request_handler_auth_begin(struct auth_request_handler *handler,
                 return TRUE;
         }
 
-       /* Handle initial respose */
+       /* Handle initial response */
        if (initial_resp == NULL) {
                /* No initial response */
                request->initial_response = NULL;
index a89cc2e4f271ac22511101167e65fb4930c90f33..697bd6487f622d828b617f1b39df58461cb85ef0 100644 (file)
@@ -896,7 +896,7 @@ static bool director_cmd_director(struct director_connection *conn,
 
                /* already have this. just reset its last_network_failure
                   timestamp, since it might be up now, but only if this
-                  isn't part of the handshake. (if it was, reseting the
+                  isn't part of the handshake. (if it was, resetting the
                   timestamp could cause us to rapidly keep trying to connect
                   to it) */
                if (conn->handshake_received)
index 50966f2a8e8dc029b10bf2942f5678f64acbe28b..a5623aba2bdd996652f47c6cb1c8d512bc80485f 100644 (file)
@@ -452,7 +452,7 @@ unsigned int mail_hosts_hash(struct mail_host_list *list)
 {
        if (list->vhosts_unsorted)
                mail_hosts_sort(list);
-       /* don't retun 0 as hash, since we're using it as "doesn't exist" in
+       /* don't return 0 as hash, since we're using it as "doesn't exist" in
           some places. */
        return list->hosts_hash == 0 ? 1 : list->hosts_hash;
 }
index e7cb7d28f3cc03211023c242699d98eebc80b164..3585cdff7baa8e11aeb3b7ce1ebb40da9a4fad71 100644 (file)
@@ -23,14 +23,14 @@ The imap-urlauth service thus consists of three separate stages:
 
 - imap-urlauth:
   Once the client is authenticated, the connection gets passed to the
-  imap-urlauth service (as implemented here). The goal of this stage is 
+  imap-urlauth service (as implemented here). The goal of this stage is
   to prevent the need for re-authenticating to the imap-urlauth service when
   the clients wants to switch to a different target user. It normally runs as
   $default_internal_user and starts workers to perform the actual work. To start
   a worker, the imap-urlauth service establishes a control connection to the
   imap-urlauth-worker service. In the handshake phase of the control protocol,
   the connection of the client is passed to the worker. Once the worker
-  finishes, a new worker is started and the client connection is transfered to
+  finishes, a new worker is started and the client connection is transferred to
   it, unless the client is disconnected.
 
 - imap-urlauth-worker:
@@ -250,7 +250,7 @@ int main(int argc, char *argv[])
                i_fatal("Error reading configuration: %s", error);
 
        sets = master_service_settings_get_others(master_service);
-       imap_urlauth_settings = sets[0];        
+       imap_urlauth_settings = sets[0];
 
        if (imap_urlauth_settings->verbose_proctitle)
                verbose_proctitle = TRUE;
index 86b1d96202a6b8591483107880f9ade8844093ba..22067b6df1279c8245838f8a1cf285fd52bd6a84 100644 (file)
@@ -285,7 +285,7 @@ struct http_client_peer {
        struct timeout *to_req_handling;
 
        bool connect_failed:1;    /* Last connection attempt failed */
-       bool connect_backoff:1;   /* Peer is waiting for backoff timout*/
+       bool connect_backoff:1;   /* Peer is waiting for backoff timeout */
        bool disconnected:1;      /* Peer is already disconnected */
        bool handling_requests:1; /* Currently running request handler */
 };
index 48708a34db353c4a3063bbf94bdae5b9883d409e..6828f4616ea08be5a435a3d8c27a6c9cad517500 100644 (file)
@@ -305,7 +305,7 @@ void http_server_request_set_destroy_callback(struct http_server_request *req,
 struct http_server_stats {
        /* The number of requests received and responses sent */
        unsigned int request_count, response_count;
-       /* Bytes sent and received accross the connection */
+       /* Bytes sent and received across the connection */
        uoff_t input, output;
 };
 
index e127041d642c576efbef3d92e115846bd6549438..51711d99c0ef3f7ba7cc51a47e9ded437304ddca 100644 (file)
@@ -1639,7 +1639,7 @@ static void test_early_success(void)
        test_client_defaults(&http_client_set);
        http_client_set.socket_send_buffer_size = 4096;
 
-       test_begin("early succes");
+       test_begin("early success");
        test_run_client_server(&http_client_set,
                               test_client_early_success,
                               test_server_early_success, 1, NULL);
index 4e638618a41b4396a27510213fdc962b8fa3be11..8a02bf9371fc9cd7eb31b726e2db15294e1a0f7a 100644 (file)
@@ -233,7 +233,7 @@ static struct http_server *http_server;
 static struct io *io_listen;
 static struct client *clients;
 
-/* location: /succes */
+/* location: /success */
 
 static void client_handle_success_request(struct client_request *creq)
 {
index 360e59705f0cf2812e615ca5dfd686714900d71b..d39cbe2ce028c08e6510f15a8f99ae43293bb9a0 100644 (file)
@@ -53,7 +53,7 @@ ext_reset_update_atomic(struct mail_index_transaction *t,
 
        array_idx_set(&t->ext_reset_ids, ext_id, &reset_id);
 
-       /* reseting existing data is optional */
+       /* resetting existing data is optional */
        if (array_is_created(&t->ext_resets)) {
                reset = array_idx_modifiable(&t->ext_resets, ext_id);
                if (reset->new_reset_id == (uint32_t)-1)
index c1947cffcbbb5da6e7b5d31dcc2c8d4fb465c718..6d768e050b34a19afd756b6808462ca2064570b9 100644 (file)
@@ -384,7 +384,7 @@ void mail_index_set_lock_method(struct mail_index *index,
    use the default. */
 void mail_index_set_optimization_settings(struct mail_index *index,
        const struct mail_index_optimization_settings *set);
-/* When creating a new index file or reseting an existing one, add the given
+/* When creating a new index file or resetting an existing one, add the given
    extension header data immediately to it. */
 void mail_index_set_ext_init_data(struct mail_index *index, uint32_t ext_id,
                                  const void *data, size_t size);
index 753cb65c769a1fb837097be6ef79d738cd6f3e21..b6abbde23ce0691218878bef08642e9cdbb2e49f 100644 (file)
@@ -760,7 +760,7 @@ mail_transaction_log_file_create2(struct mail_transaction_log_file *file,
                return -1;
 
        if (reset) {
-               /* don't reset modseqs. if we're reseting due to rebuilding
+               /* don't reset modseqs. if we're resetting due to rebuilding
                   indexes we'll probably want to keep uidvalidity and in such
                   cases we really don't want to shrink modseqs. */
                file->hdr.prev_file_seq = 0;
index 6e9b1eb6316c533bde7118bd32a45b476daa2ea7..b26ce63958820d4302b17221d0b78fe8122b6630 100644 (file)
@@ -374,7 +374,7 @@ mail_transaction_log_refresh(struct mail_transaction_log *log, bool nfs_flush,
                   mailbox deletion not fully finishing due to .nfs* files and
                   an IDLEing IMAP process creating the index back here). */
                log->index->index_deleted = TRUE;
-               *reason_r = "Trasnaction log lost while it was open";
+               *reason_r = "Transaction log lost while it was open";
                return -1;
        } else if (log->head->st_ino == st.st_ino &&
                   CMP_DEV_T(log->head->st_dev, st.st_dev)) {
index 3bc81a10aaa04f89b0f795078351127484490187..c8cd3ac80163b014a889ee81e5a38fa1d7ba4109 100644 (file)
@@ -574,7 +574,7 @@ master_service_init(const char *name, enum master_service_flags flags,
                        i_fatal(MASTER_CLIENT_LIMIT_ENV" missing");
                master_service_set_client_limit(service, count);
 
-               /* seve the process limit */
+               /* save the process limit */
                value = getenv(MASTER_PROCESS_LIMIT_ENV);
                if (value != NULL && str_to_uint(value, &count) == 0 &&
                    count > 0)
index 75608e99550db0fb2c759b7efc61898893448b6b..1cbdb7b8ea64f03b3e93766ca7f389c7701fb3b7 100644 (file)
@@ -76,7 +76,7 @@ struct smtp_client_settings {
           sent or received.
           (default = unlimited) */
        unsigned int command_timeout_msecs;
-       /* Timeout for loggging in
+       /* Timeout for logging in
                (default = cmd_timeout_msecs) */
        unsigned int connect_timeout_msecs;
 
index 841e1866b28d4b59094453d6a3a9d4a535bff2d1..5d79b7675d4887a7d6a04e6587b532e96f5dc841 100644 (file)
@@ -155,7 +155,7 @@ cmd_auth_start(struct smtp_server_cmd_ctx *cmd,
        const struct smtp_server_callbacks *callbacks = conn->callbacks;
        int ret;
 
-       /* all preceeding commands have finished and now the transaction state
+       /* all preceding commands have finished and now the transaction state
           is clear. This provides the opportunity to re-check the protocol
           state */
        if (!cmd_auth_check_state(cmd))
index 82b8e811a0e8692655666de38deb92872aac1ea1..c0e719ba753680a6b16e3a37c05f10a9b3c2a606 100644 (file)
@@ -57,7 +57,7 @@ cmd_mail_recheck(struct smtp_server_cmd_ctx *cmd,
 {
        struct smtp_server_connection *conn = cmd->conn;
 
-       /* All preceeding commands have finished and now the transaction state
+       /* All preceding commands have finished and now the transaction state
           is clear. This provides the opportunity to re-check the transaction
           state */
        if (!cmd_mail_check_state(cmd))
index 85e9a9396f81647100dbd37aa7010b125829d9e2..b4a496bbb37ee94fbe9275d88ed6490cde42f2ff 100644 (file)
@@ -86,7 +86,7 @@ cmd_rcpt_recheck(struct smtp_server_cmd_ctx *cmd,
 {
        struct smtp_server_connection *conn = cmd->conn;
 
-       /* All preceeding commands have finished and now the transaction state
+       /* All preceding commands have finished and now the transaction state
           is clear. This provides the opportunity to re-check the transaction
           state and abort the pending proxied mail command if it is bound to
           fail */
index d926b45095a202e9b604218e13c5c1924f222e83..00e61c90dacd8341a5131ec85807d01db46d032c 100644 (file)
@@ -52,13 +52,13 @@ cmd_xclient_recheck(struct smtp_server_cmd_ctx *cmd,
 {
        struct smtp_server_connection *conn = cmd->conn;
 
-       /* all preceeding commands have finished and now the transaction state is
+       /* all preceding commands have finished and now the transaction state is
           clear. This provides the opportunity to re-check the protocol state */
        if (!cmd_xclient_check_state(cmd))
                return;
        smtp_server_connection_set_state(conn, SMTP_SERVER_STATE_XCLIENT, NULL);
 
-       /* succes; send greeting */
+       /* success; send greeting */
        smtp_server_reply(cmd, 220, NULL, "%s %s",
                conn->set.hostname, conn->set.login_greeting);
        return;
index 5c13491380f090d47a365d32ec72dc3c2d92f46e..61d76cd9fae6268793a43aa545dfe2d0d40afff0 100644 (file)
@@ -535,7 +535,7 @@ enum smtp_server_command_flags {
 };
 
 enum smtp_server_command_hook_type {
-       /* next: command is next to reply but has not submittted all replies
+       /* next: command is next to reply but has not submitted all replies
           yet. */
        SMTP_SERVER_COMMAND_HOOK_NEXT,
        /* replied_one: command has submitted one reply. */
index f82dc4dcf817f9c4f4284b00b0545982ad2906fc..3aff35b8a40e71edd650d953d521afde14d9b6a4 100644 (file)
@@ -1145,7 +1145,7 @@ static void test_data_disconnect(void)
 }
 
 /*
- * Data timout
+ * Data timeout
  */
 
 /* server */
index 7936b98628bde04d70b5cff7edf4e03ed5b404da..3b749627b715f1ba4b91fa6462fd04b094620908 100644 (file)
@@ -13,7 +13,7 @@ enum sql_db_flags {
        SQL_DB_FLAG_POOLED              = 0x02,
        /* Prepared statements are supported by the database. If they aren't,
           the functions can still be used, but they're just internally
-          convered into regular statements. */
+          converted into regular statements. */
        SQL_DB_FLAG_PREP_STATEMENTS     = 0x04,
        /* Database supports INSERT .. ON DUPLICATE KEY syntax. */
        SQL_DB_FLAG_ON_DUPLICATE_KEY    = 0x08,
@@ -168,7 +168,7 @@ int sql_result_next_row(struct sql_result *result);
 
 /* If sql_result_next_row() returned SQL_RESULT_NEXT_MORE, this can be called
    to continue returning more results. The result is freed with this call, so
-   it must not be accesed anymore until the callback is finished. */
+   it must not be accessed anymore until the callback is finished. */
 void sql_result_more(struct sql_result **result,
                     sql_query_callback_t *callback, void *context);
 #define sql_result_more(result, callback, context) \
index 6920c533902784bec77e9f17a10f80f791d43ed3..797596d92a891482bcae7b0a306367ecd6690fe8 100644 (file)
@@ -14,7 +14,7 @@ void openssl_iostream_set_error(struct ssl_iostream *ssl_io, const char *str)
 {
        char *new_str;
 
-       /* i_debug() may sometimes be overriden, making it write to this very
+       /* i_debug() may sometimes be overridden, making it write to this very
           same SSL stream, in which case the provided str may be invalidated
           before it is even used. Therefore, we duplicate it immediately. */
        new_str = i_strdup(str);
@@ -804,7 +804,7 @@ openssl_iostream_get_peer_name(struct ssl_iostream *ssl_io)
                }
        }
        X509_free(x509);
-       
+
        return *name == '\0' ? NULL : name;
 }
 
index da7e5e170926506b0ba17ab8743343d231264b32..3156bb5fff0763c43b221c56b451fb4575470533 100644 (file)
@@ -84,7 +84,7 @@ static int seach_arg_mime_child_match(struct search_mimepart_context *mpctx,
                return (part->children != NULL ? 1 : 0);
        }
 
-       /* CHILD <mpart-key>: matches if this part has any child that mathes
+       /* CHILD <mpart-key>: matches if this part has any child that matches
           the mpart-key (subargs).
         */
 
index 92eb4e8dcfc9c4e3b98404d6dcaa2fb4320b750a..358eb1a8b252bc484946660d43464a48ac84849a 100644 (file)
@@ -185,7 +185,7 @@ index_mailbox_sync_pvt_index(struct index_mailbox_sync_pvt_context *ctx,
        } else {
                /* mailbox created/recreated */
                reset = TRUE;
-               i_info("Mailbox %s UIDVALIDITY changed (%u -> %u), reseting private index",
+               i_info("Mailbox %s UIDVALIDITY changed (%u -> %u), resetting private index",
                       ctx->box->vname, hdr_pvt->uid_validity,
                       hdr_shared->uid_validity);
        }
index 9b466385573716c1883bd16e029ad478c154a03e..1033ea72ca884f491063e0008448e2497ec12515 100644 (file)
@@ -9,7 +9,7 @@
 
    Returns 1 if the rename() succeeded. Returns 0 if rename() fails with EXDEV,
    which means the source and destination are on different filesystems and
-   the rename can never succeeed.
+   the rename can never succeed.
 
    If the path didn't exist, returns -1 and sets the list error to
    MAIL_ERROR_NOTFOUND.
index be8b265d36c30d9a5083d579d8f9cf53a57d9573..e061069744b92150668211f7dd718d1dfeab1145 100644 (file)
@@ -225,7 +225,7 @@ mailbox_list_index_iter_next(struct mailbox_list_iterate_context *_ctx)
                if (match == IMAP_MATCH_YES && iter_subscriptions_ok(ctx)) {
                        /* If this is a) \NoSelect leaf, b) not LAYOUT=index
                           and c) NO-NOSELECT is set, try to rmdir the leaf
-                          directores from filesystem. (With LAYOUT=index the
+                          directories from filesystem. (With LAYOUT=index the
                           \NoSelect mailboxes aren't on the filesystem.) */
                        if (ilist->has_backing_store &&
                            mailbox_list_iter_try_delete_noselect(_ctx, &ctx->info,
index d10ca6c334c2bb5fcf4daced0bf003a21bd2753f..ead9d7f66de148dfc39a8ad6296d78a9f3bec074 100644 (file)
@@ -1106,7 +1106,7 @@ enum net_hosterror_type net_get_hosterror_type(int error)
 
 int net_hosterror_notfound(int error)
 {
-#ifdef EAI_NODATA /* NODATA is depricated */
+#ifdef EAI_NODATA /* NODATA is deprecated */
        return (error != 1 && (error == EAI_NONAME || error == EAI_NODATA)) ? 1 : 0;
 #else
        return (error != 1 && (error == EAI_NONAME)) ? 1 : 0;
index 001e7b02f73b3f9eefc9cceeefd4e40de99ec7e7..f72253fef45e4b92c7373fabda20852e60a3f485 100644 (file)
@@ -83,7 +83,7 @@ printf_format_fix_noalloc(const char *format, size_t *len_r)
                p = p2+1;
                if (*p == '%') {
                        /* we'll be strict and allow %% only when there are no
-                          optinal flags or modifiers. */
+                          optional flags or modifiers. */
                        p++;
                        continue;
                }