]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
global: Fix code comment spelling
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 14 Feb 2025 02:16:07 +0000 (21:16 -0500)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 3 Mar 2025 11:45:12 +0000 (11:45 +0000)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
102 files changed:
TODO
doc/dovecot-initd.sh
src/auth/db-ldap.c
src/auth/db-oauth2.h
src/config/config-dump-full.c
src/dict/dict-connection.c
src/doveadm/dsync/dsync-mail.h
src/doveadm/dsync/dsync-mailbox-export.c
src/doveadm/dsync/dsync-mailbox-tree-sync.c
src/imap-urlauth/imap-urlauth.c
src/imap/imap-client.c
src/imap/imap-client.h
src/lib-auth-client/test-auth-client.c
src/lib-compression/compression.c
src/lib-compression/istream-zlib.c
src/lib-compression/test-compression.c
src/lib-dcrypt/ostream-encrypt.c
src/lib-fs/fs-api.c
src/lib-http/http-client-connection.c
src/lib-http/http-client-peer.c
src/lib-http/http-client-queue.c
src/lib-http/http-client.h
src/lib-imap-client/imapc-client.c
src/lib-imap-client/imapc-connection.c
src/lib-imap/imap-bodystructure.c
src/lib-index/mail-cache-private.h
src/lib-index/mail-index-private.h
src/lib-index/mail-index.h
src/lib-index/mail-transaction-log-view.c
src/lib-index/mail-transaction-log.h
src/lib-json/json-generator.c
src/lib-json/json-istream.h
src/lib-json/json-ostream.h
src/lib-json/json-parser.c
src/lib-json/test-json-parser.c
src/lib-language/lang-filter.h
src/lib-language/lang-tokenizer-address.c
src/lib-language/lang-tokenizer-generic.c
src/lib-lua/dlua-compat.h
src/lib-lua/dlua-table.c
src/lib-mail/istream-dot.c
src/lib-mail/message-header-encode.c
src/lib-mail/test-istream-attachment.c
src/lib-mail/test-istream-qp-decoder.c
src/lib-master/master-service-haproxy.c
src/lib-master/master-service.c
src/lib-master/stats-client.c
src/lib-oauth2/oauth2.h
src/lib-settings/settings-parser.h
src/lib-settings/settings.c
src/lib-smtp/smtp-parser.c
src/lib-smtp/smtp-server-connection.c
src/lib-smtp/test-smtp-client-errors.c
src/lib-sql/driver-mysql.c
src/lib-ssl-iostream/iostream-openssl-common.c
src/lib-storage/index/imapc/imapc-mailbox.c
src/lib-storage/index/imapc/imapc-save.c
src/lib-storage/index/imapc/imapc-sync.c
src/lib-storage/index/index-mail.c
src/lib-storage/index/index-rebuild.c
src/lib-storage/list/mailbox-list-index-backend.c
src/lib-storage/list/mailbox-list-index.c
src/lib-storage/mail-search-args-simplify.c
src/lib-storage/mail-search-mime-build.h
src/lib-storage/mail-search-parser.h
src/lib-storage/mail-storage.c
src/lib-storage/mail-storage.h
src/lib-var-expand-crypt/var-expand-crypt.c
src/lib-var-expand/Makefile.am
src/lib-var-expand/expansion-statement.c
src/lib/Makefile.am
src/lib/hash-format.h
src/lib/hook-build.c
src/lib/ioloop.h
src/lib/iostream-proxy.h
src/lib/iostream-pump.h
src/lib/istream.h
src/lib/lib-event.c
src/lib/mempool.h
src/lib/nfs-workarounds.c
src/lib/ostream-wrapper.h
src/lib/punycode.c
src/lib/randgen.c
src/lib/seq-set-builder.c
src/lib/str.h
src/lib/strnum.h
src/lib/test-event-filter-expr.c
src/lib/test-imem.c
src/lib/test-istream-base64-decoder.c
src/lib/test-lib-signals.c
src/lib/uri-util.h
src/master/service-monitor.c
src/master/service.h
src/plugins/acl/acl-mailbox-list.c
src/plugins/fts-flatcurve/fts-backend-flatcurve-xapian.cc
src/plugins/fts/fts-build-mail.c
src/plugins/mail-crypt/doveadm-mail-crypt.c
src/plugins/quota/quota.c
src/stats/event-exporter.h
src/stats/test-stats-metrics.c
src/submission/main.c
src/submission/submission-client.c

diff --git a/TODO b/TODO
index b482322c0a055716e88fc8620e1d4044fb9b53a4..f536d922e9a7749d1751ee35af336480aed5f850 100644 (file)
--- a/TODO
+++ b/TODO
   ^ appears to work now though, probably because of the added syncing stuff..
 
  - use backup index in mail_index_fsck()
- - proxying: support fallbacking to local (or other?) server if the first
+ - proxying: support falling back to local (or other?) server if the first
    one is down
  - virtual: If last message matching INTHREAD rule gets expunged, the rest of
    the thread doesn't go away
index 0da7426b8844d4186f622b21c9fc62f699c9a0bb..48d89ebd8948e060395626c1f121446c2984f384 100644 (file)
@@ -19,7 +19,7 @@ DAEMON=/usr/local/sbin/dovecot
 # Uncomment to allow Dovecot daemons to produce core dumps.
 #ulimit -c unlimited
 
-# RedHat config
+# Red Hat config
 [ -e /etc/sysconfig/dovecot ] && . /etc/sysconfig/dovecot
 
 # Debian config
index 8af9696da84cca6a9500543ee02fd2bc08e8ab3a..0acc1bbaac5574f7f030138a12183f2fe44ec299 100644 (file)
@@ -1347,7 +1347,7 @@ ldap_query_get_fields(pool_t pool,
        ldap_iter = db_ldap_result_iterate_init(conn, ldap_request, res,
                                                skip_null_values);
        while (db_ldap_result_iterate_next(ldap_iter, &name, &values)) {
-               /* normalize to lower case, as ldap names are case insensitive. */
+               /* normalize to lower case, as ldap names are case-insensitive. */
                name = t_str_lcase(name);
                auth_fields_add(fields, name, values[0], 0);
                if (values[0] != NULL && values[1] != NULL) {
index 36e1b62b1764521d67dfb8c3f61f6ead336e0b3a..3f362c61ddb21629c9f6e32fb0393cb16d31a8f4 100644 (file)
@@ -30,7 +30,7 @@ struct auth_oauth2_settings {
        const char *active_attribute;
        /* expected active value for active attribute, optional */
        const char *active_value;
-       /* client identificator for oauth2 server */
+       /* client identifier for oauth2 server */
        const char *client_id;
        /* not really used, but have to present by oauth2 specs */
        const char *client_secret;
index a56ed9a5ac8cf63e4557266505356d4635b0123c..ec7f6b27ed3eaa4c07e497e2c64227ce9031123b 100644 (file)
@@ -80,7 +80,7 @@
    the parsing code sees a filter that includes groups, it immediately
    processes all the group filters and applies any matches. This is needed,
    because group includes can exist hierarchically so that the most specific
-   (innermost filter) includes are fully applied before the less epecific
+   (innermost filter) includes are fully applied before the less specific
    (outermost filter / global) includes. So if there is e.g. a global
    @group=foo and namespace { @group=bar } which both modify the same setting,
    the @group=bar must be applied first to get the expected value. If the same
index cba93e01429fc3686680ce15d9346add9d2cac45..45438283ddacd7ff4bfe0797ee8558897a6fe933 100644 (file)
@@ -30,7 +30,7 @@ static int dict_connection_handshake_args(struct connection *_conn,
        struct dict_connection *conn =
                container_of(_conn, struct dict_connection, conn);
 
-       /* protocol handshake is Hmajor minor value_type */
+       /* protocol handshake is 'H' major <tab> minor <tab> value_type */
        if (str_array_length(args) < 5 || **args != 'H')
                return -1;
 
@@ -161,7 +161,7 @@ bool dict_connection_unref(struct dict_connection *conn)
        i_assert(array_count(&conn->cmds) == 0);
 
        /* we should have only transactions that haven't been committed or
-          rollbacked yet. close those before dict is deinitialized. */
+          rolled back yet. close those before dict is deinitialized. */
        if (array_is_created(&conn->transactions)) {
                array_foreach_modifiable(&conn->transactions, transaction)
                        dict_transaction_rollback(&transaction->ctx);
index bcddda43336fcd9eb59ee132638aa7f7581a6b03..7dccd935fadacd57fa3cd955215d32a5489c02bf 100644 (file)
@@ -16,7 +16,7 @@ struct dsync_mail {
        /* If non-NULL, we're syncing within the dsync process using ibc-pipe.
           This mail can be used to mailbox_copy() the mail. */
        struct mail *input_mail;
-       /* Verify that this equals to input_mail->uid */
+       /* Verify that this equals input_mail->uid */
        uint32_t input_mail_uid;
 
        /* TRUE if the following fields aren't set, because minimal_fill=TRUE
index b1295834fe1046a5992e8e409bb1de606767d537..5302795f4a56d8dc1af2faeefaa525e2aff40169 100644 (file)
@@ -575,7 +575,7 @@ dsync_mailbox_export_iter_next_nonexistent_attr(struct dsync_mailbox_exporter *e
                                exporter->box, &mail_error);
 
                        /* Unavailable can come from imapc attributes
-                          when backand doesn't offer the capability,
+                          when backend doesn't offer the capability,
                           just ignore the error in this case */
                        if (mail_error == MAIL_ERROR_UNAVAILABLE)
                                continue;
@@ -637,7 +637,7 @@ dsync_mailbox_export_iter_next_attr(struct dsync_mailbox_exporter *exporter)
                                exporter->box, &mail_error);
 
                        /* Unavailable can come from imapc attributes
-                          when backand doesn't offer the capability,
+                          when backend doesn't offer the capability,
                           just ignore the error in this case */
                        if (mail_error == MAIL_ERROR_UNAVAILABLE)
                                continue;
index cf49c4e0baaa2df07fa27da25eedbfa5b75fcb28..911dc108f41b808781813e59da89ae1d0611ae8b 100644 (file)
@@ -613,7 +613,7 @@ sync_rename_lower_ts(struct dsync_mailbox_tree_sync_ctx *ctx,
           and remote_node2. They have identical names. We also know that
           local_node1&remote_node1 and local_node2&remote_node2 are "the same"
           either because their GUIDs or (in case of one being a directory)
-          their childrens' GUIDs match. We don't know where local_node2 or
+          their children's GUIDs match. We don't know where local_node2 or
           remote_node1 are located in the mailbox tree, or if they exist
           at all. Note that node1 and node2 may be the same node pointers. */
        i_assert(strcmp(local_node1->name, remote_node2->name) == 0);
@@ -987,7 +987,7 @@ sync_rename_temp_mailbox_node(struct dsync_mailbox_tree *tree,
 
        /* The name is currently <oldname>-<temp>. Both sides need to
           use equivalent names, so we'll replace the <temp> if possible
-          with a) mailbox GUID, b) sha1 of childrens' (GUID|name)s. In the
+          with a) mailbox GUID, b) sha1 of children's (GUID|name)s. In the
           very unlikely case of such name already existing, just increase
           the last letters until it's not found. */
        new_suffix = mailbox_node_generate_suffix(node);
index 4d8b9e2e37b1ef21d8f70ee288c24aa51495fa63..5f1e9beb32e9e6c51a9b323bd5396e41a71ec2a4 100644 (file)
@@ -19,7 +19,7 @@ The imap-urlauth service thus consists of three separate stages:
   This is the login service which operates identical to imap-login and
   pop3-login equivalents, except for the fact that only token authentication is
   allowed. It verifies that the connecting client is an IMAP service acting on
-  behaf of an authenticated user.
+  behalf of an authenticated user.
 
 - imap-urlauth:
   Once the client is authenticated, the connection gets passed to the
index 0e51012311b5f003831117b7b26138a01b657f73..56e6aea85c421275dbb51d41d9094f6bec2a1dfd 100644 (file)
@@ -160,7 +160,7 @@ struct client *client_create(int fd_in, int fd_out,
 
        mail_set = mail_user_set_get_storage_set(user);
        /* NOTIFY is enabled only when mailbox list indexes are enabled,
-          althoaugh even that doesn't necessarily guarantee it always */
+          although even that doesn't necessarily guarantee it always */
        if (!mail_set->mailbox_list_index)
                imap_unset_capability(set_instance, "NOTIFY");
 
index e1818b3f149509a72b1049458c9cb7bb338804e9..fa632ff66a62a12ce2843bd7b481620942cc5ed0 100644 (file)
@@ -130,7 +130,7 @@ struct client_command_context {
 
 struct imap_client_vfuncs {
        /* Perform client initialization. This is called when client creation is
-          finished completely. Particulary, at this point the namespaces are
+          finished completely. Particularly, at this point the namespaces are
           fully initialized, which is not the case for the client create hook.
         */
        void (*init)(struct client *client);
index defbbc7c6609f9c4ee9b50bda2920783f037a4a7..fe4154b7a52f7ed1954afe2d058d573685b6f4b5 100644 (file)
@@ -1028,7 +1028,7 @@ test_client_auth_parallel(const char *mech, const char *username,
                base64_encode(str_data(resp), str_len(resp), resp_b64);
                info.initial_resp_base64 = str_c(resp_b64);
        } else if (strcasecmp(mech, "LOGIN") == 0) {
-               /* no intial response */
+               /* no initial response */
        } else {
                i_unreached();
        }
index fde804dcb73872edd063d608284bbd12e9e9b612..4502eba7e40caf1e5ed84ec45506b5833a721ddd 100644 (file)
@@ -25,7 +25,7 @@ static bool is_compressed_zlib(struct istream *input)
        const unsigned char *data;
        size_t size;
 
-       /* Peek in to the stream and see if it looks like it's compressed
+       /* Peek into the stream and see if it looks like it's compressed
           (based on its header). This also means that users can try to exploit
           security holes in the uncompression library by APPENDing a specially
           crafted mail. So let's hope zlib is free of holes. */
index 123d7d67eabf125508262b90daab59f488330dbf..f5513747244802967feb100254900edad496f987 100644 (file)
@@ -196,7 +196,7 @@ static ssize_t i_stream_zlib_read(struct istream_private *stream)
        if (zstream->starting_concated_output) {
                /* make sure there actually is something in parent stream.
                   we don't want to reset the stream unless we actually see
-                  some concated output. */
+                  some concatenated output. */
                ret = i_stream_read_more(stream->parent, &data, &size);
                if (ret <= 0) {
                        if (ret == 0)
index 4d8cce35bd973e000136694920d1d88334ae26ef..a75d29b6d91de4fae7edb996320bb7fc6a8cccae 100644 (file)
@@ -803,9 +803,9 @@ static void test_gz(const char *str1, const char *str2, bool autodetect)
        buffer_t *buf = t_buffer_create(512);
 
        if (compression_lookup_handler("gz", &gz) <= 0 )
-               return; /* not compiled in or unkown*/
+               return; /* not compiled in or unknown */
 
-       /* write concated output */
+       /* write concatenated output */
        buf_output = o_stream_create_buffer(buf);
        o_stream_set_finish_via_child(buf_output, FALSE);
 
@@ -823,7 +823,7 @@ static void test_gz(const char *str1, const char *str2, bool autodetect)
 
        o_stream_destroy(&buf_output);
 
-       /* read concated input */
+       /* read concatenated input */
        const unsigned char *data;
        size_t size;
        test_input = test_istream_create_data(buf->data, buf->used);
@@ -881,7 +881,7 @@ static void test_gz_header_int(bool autodetect)
        };
        struct istream *file_input, *input;
        if (compression_lookup_handler("gz", &gz) <= 0 )
-               return; /* not compiled in or unkown*/
+               return; /* not compiled in or unknown */
 
        test_begin(t_strdup_printf(
                "gz header (autodetect=%s)", autodetect ? "yes" : "no"));
@@ -917,7 +917,7 @@ static void test_gz_large_header_int(bool autodetect)
        size_t i;
 
        if (compression_lookup_handler("gz", &gz) <= 0 )
-               return; /* not compiled in or unkown*/
+               return; /* not compiled in or unknown */
 
        test_begin(t_strdup_printf(
                "gz large header (autodetect=%s)", autodetect ? "yes" : "no"));
@@ -964,7 +964,7 @@ static void test_lz4_small_header(void)
        struct istream *file_input, *input;
 
        if (compression_lookup_handler("lz4", &lz4) <= 0)
-               return; /* not compiled in or unkown */
+               return; /* not compiled in or unknown */
 
        test_begin("lz4 small header");
 
index ebba0186eba874a80da134e24a112df51de3cd7b..4bb2138116b417aff880628dd1c8749ad89df45b 100644 (file)
@@ -534,7 +534,7 @@ o_stream_encrypt_sendv(struct ostream_private *stream,
                const unsigned char *ptr = iov[i].iov_base;
                while(len > 0) {
                        buffer_clear_safe(&buf);
-                       /* update can emite twice the size of input */
+                       /* update can emit twice the size of input */
                        bl = I_MIN(sizeof(ciphertext)/2, len);
 
                        if (!dcrypt_ctx_sym_update(estream->ctx_sym, ptr + off,
index 02940d1d7c2da0a846bb868e060d36ea34951a03..540cfad4585758f10b8348ee3c97c4cb2bd6a42f 100644 (file)
@@ -708,7 +708,7 @@ struct event *fs_file_event(struct fs_file *file)
 
 static struct fs_file *fs_file_get_error_file(struct fs_file *file)
 {
-       /* the error is always kept in the parentmost file */
+       /* the error is always kept in the parent-most file */
        while (file->parent != NULL)
                file = file->parent;
        return file;
index 95247c7c126f100de970378714151d21832184d0..084a5026a8759ab6e2ddd8e81c4c5b4be7f97240 100644 (file)
@@ -783,7 +783,7 @@ static void http_client_payload_destroyed(struct http_client_request *req)
        conn->incoming_payload = NULL;
 
        /* Input stream may have pending input. make sure input handler
-          gets called (but don't do it directly, since we get get here
+          gets called (but don't do it directly, since we get here
           somewhere from the API user's code, which we can't really know what
           state it is in). this call also triggers sending a new request if
           necessary. */
index 2238cbda291d0e364c53f884c72e63a9ed03e76a..b7636fb4c8f06562ad2259e6d9610d89ba0e6689 100644 (file)
@@ -72,7 +72,7 @@ int http_client_peer_addr_cmp(const struct http_client_peer_addr *peer1,
        case HTTP_CLIENT_PEER_ADDR_HTTPS_TUNNEL:
                /* Queues are created with peer addresses that have an
                   uninitialized IP value, because that is assigned later when
-                  the host lookup completes. In all other other contexts, the
+                  the host lookup completes. In all other contexts, the
                   IP is always initialized, so we do not compare IPs when one
                   of them is unassigned. */
                if (peer1->a.tcp.ip.family != 0 &&
@@ -1295,7 +1295,7 @@ http_client_peer_connection_failed_pool(struct http_client_peer *peer,
 
        peer->connect_failed = TRUE;
 
-       /* Make a copy of the queue array; queues get linked/unlinged while the
+       /* Make a copy of the queue array; queues get linked/unlinked while the
           connection failure is handled */
        t_array_init(&queues, array_count(&peer->queues));
        array_copy(&queues.arr, 0, &peer->queues.arr, 0,
index 773e06cd1f0a252c9368dd79f7735a3330932276..7ce2273eb410b72866f0ecd53bce89009450c9df 100644 (file)
@@ -265,7 +265,7 @@ http_client_queue_soft_connect_timeout(struct http_client_queue *queue)
                return;
        }
 
-       /* If our our previous connection attempt takes longer than the
+       /* If our previous connection attempt takes longer than the
           soft_connect_timeout, we start a connection attempt to the next IP in
           parallel */
        https_name = http_client_peer_addr_get_https_name(addr);
@@ -460,7 +460,7 @@ void http_client_queue_connection_success(struct http_client_queue *queue,
 
        if (http_client_host_ready(host) &&
            queue->addr.type != HTTP_CLIENT_PEER_ADDR_UNIX) {
-               /* We achieved at least one connection the the addr->ip */
+               /* We achieved at least one connection the addr->ip */
                if (!http_client_host_get_ip_idx(
                        host, &addr->a.tcp.ip, &queue->ips_connect_start_idx)) {
                        /* list of IPs changed during connect */
index 47ca43902a507aaf00b78c20de3db8a80d4eb507..0ce065e76023fda0e53d91cf9d2939f54501002e 100644 (file)
@@ -451,7 +451,7 @@ void http_client_request_submit(struct http_client_request *req);
 bool http_client_request_try_retry(struct http_client_request *req);
 
 /* Fail the request. This can also be used instead of submitting the request to
-   cause the request callback to be called later on with the spcified error. */
+   cause the request callback to be called later on with the specified error. */
 void http_client_request_error(struct http_client_request **req,
                               unsigned int status, const char *error);
 /* Abort the request immediately. It may still linger for a while when it is
@@ -493,7 +493,7 @@ void http_client_request_start_tunnel(struct http_client_request *req,
    filled manually. */
 void http_client_settings_init(pool_t pool, struct http_client_settings *set_r);
 /* Create a client using the global shared client context. The parent event can
-   be overriden for specific requests with http_client_request_set_event(). */
+   be overridden for specific requests with http_client_request_set_event(). */
 struct http_client *http_client_init(const struct http_client_settings *set,
                                     struct event *event_parent);
 /* Same as http_client_init(), but pull settings automatically. */
index 67d0f99991f381369bd2a3d9cbc2e56f029af1ab..a33a1d625b25a36dbad7de88694e456581a53528 100644 (file)
@@ -69,7 +69,7 @@ imapc_client_init(const struct imapc_parameters *params,
                p_strdup(pool, params->temp_path_prefix);
        client->params.flags = params->flags;
 
-       /* Set the overriden parameter only if it is set. */
+       /* Set the overridden parameter only if it is set. */
        client->dns_client_socket_path =
                (params->override_dns_client_socket_path != NULL) ?
                        p_strdup(pool, params->override_dns_client_socket_path) :
index 470dcfa587c55787b7f86ba0c29f212a2ebb59d5..491c6b25d11e94eb05d4b6c664e4bc83a4856811 100644 (file)
@@ -1212,7 +1212,7 @@ static int imapc_connection_input_banner(struct imapc_connection *conn)
 
        if ((ret = imapc_connection_read_line(conn, &imap_args)) <= 0)
                return ret;
-       /* we already verified that the banner beigns with OK */
+       /* we already verified that the banner begins with OK */
        i_assert(imap_arg_atom_equals(imap_args, "OK"));
        imap_args++;
 
index 7cdf9ede24b9728a82e479c44dd0e0ce97ee33ff..4bacb495c92199316629760072654531f65dada6 100644 (file)
@@ -13,7 +13,7 @@
 #include "imap-envelope.h"
 #include "imap-bodystructure.h"
 
-/* The max level of lists nesting inside the parhentesised representation of a
+/* The max level of lists nesting inside the parenthesised representation of a
    single part with no other parts inside, i.e. the max level of list nesting
    in representing a single part. According to RFC-3501, this should be in the
    order of a couple of nestings only, let's keep some margin just in case. */
@@ -429,7 +429,7 @@ imap_bodystructure_parse_args_int(
                return -1;
        }
        if (part != NULL) {
-               /* parsing with pre-existing message_part tree */
+               /* parsing with preexisting message_part tree */
                parsing_tree = FALSE;
        } else {
                /* parsing message_part tree from BODYSTRUCTURE as well */
index bb11a345bb2b3be3502a7d3b364493a1e4b7933f..799f831a3f103b331b3bf60117e003cf77642031 100644 (file)
@@ -303,7 +303,7 @@ struct mail_cache_lookup_iterate_ctx {
           an uncommitted transaction. */
        uint32_t offset;
 
-       /* Used to loop through all changes in the uncommited transaction,
+       /* Used to loop through all changes in the uncommitted transaction,
           in case there are multiple changes to the same message. */
        unsigned int trans_next_idx;
 
@@ -323,7 +323,7 @@ struct mail_cache_lookup_iterate_ctx {
        bool disk_appends_checked:1;
        /* TRUE if the field index numbers in rec as the internal
           mail_cache_field.idx (instead of the file-specific indexes).
-          This indicates that the rec points to uncommited transaction's
+          This indicates that the rec points to uncommitted transaction's
           in-memory buffer. */
        bool inmemory_field_idx:1;
 };
index ac8307500efc509ccadf1ad0deadf630ad376639..856eb08b192bec9b31238ca4ad7952c5e2596417 100644 (file)
@@ -274,7 +274,7 @@ struct mail_index {
        struct mail_index_error last_error;
        /* Timestamp when mmap() failure was logged the last time. This is used
           to prevent logging the same error too rapidly. This could happen
-          e.g. if mmap()ing a large cache file that exceeeds process's
+          e.g. if mmap()ing a large cache file that exceeds process's
           VSZ limit. */
        time_t last_mmap_error_time;
        /* If non-NULL, dovecot.index should be recreated as soon as possible.
index e3f6baf0d3d7d0db542cdb1c37746bd76448ab5c..0190bd984a50314bb62a3ab67f8c7036e269d85a 100644 (file)
@@ -44,8 +44,8 @@ enum mail_index_open_flags {
 
 enum mail_index_header_compat_flags {
        /* All fields in these index files are in little-endian format.
-          If the current CPU endianess doesn't match this, the indexes can't
-          be used. There is currently no support to translate endianess. */
+          If the current CPU endianness doesn't match this, the indexes can't
+          be used. There is currently no support to translate endianness. */
        MAIL_INDEX_COMPAT_LITTLE_ENDIAN         = 0x01
 };
 
@@ -634,7 +634,7 @@ void mail_index_lookup_first(struct mail_index_view *view,
 void mail_index_append(struct mail_index_transaction *t, uint32_t uid,
                       uint32_t *seq_r);
 /* Assign new UIDs for mails with uid=0 or uid<min_allowed_uid. All the new
-   UIDs are >= first_new_uid, an also higher than the highest seen uid (i.e. it
+   UIDs are >= first_new_uid, and also higher than the highest seen uid (i.e. it
    doesn't try to fill UID gaps). Assumes that mailbox is locked in a way that
    UIDs can be safely assigned. Returns UIDs for all assigned messages, in
    their sequence order (so UIDs are not necessary ascending). */
index 80eb2c8792ec1e946bc1c22ce762f9567ed6af62..46f568260a2e0a5b071171f74644a168518adb2c 100644 (file)
@@ -181,7 +181,7 @@ int mail_transaction_log_view_set(struct mail_transaction_log_view *view,
 
                if (file == NULL || file->hdr.file_seq != seq) {
                        /* see if we could find the missing file. if we know
-                          the max. file sequence or we don't have the the min.
+                          the max. file sequence or we don't have the min.
                           file, make sure NFS attribute cache gets flushed if
                           necessary. */
                        bool nfs_flush = seq == min_file_seq ||
index 2fdbe1faf1ddfb316e406e5cba423e84a20d52ce..b04c3aafcc7627ed23f4b4192fdf49b8464685b4 100644 (file)
@@ -61,7 +61,7 @@ struct mail_transaction_log_header {
 
           These are mainly useful to optimize syncing when the start position
           is (prev_file_seq, prev_file_offset). Then it's it's already known
-          that the syncing can be started from this log file wihtout having
+          that the syncing can be started from this log file without having
           to open the previous log file only to realize that there is nothing
           to sync. (Which could have also lead to an error if the .log.2 was
           already deleted.) */
index 24c97b3ac5725252f4abf26b3ccc450a6dae5ee5..d67f0a41f49c1e4edf610e6e6b155f431d34f752 100644 (file)
@@ -803,9 +803,9 @@ void json_generate_string_close(struct json_generator *generator)
        i_assert(generator->value_input == NULL);
        i_assert(generator->state == JSON_GENERATOR_STATE_STRING);
        if (generator->write_state != JSON_GENERATOR_STATE_STRING) {
-               /* This function does not flush first before changing state, nor
-                  does the string_open() function. So, we need to remember
-                  closing the an empty string, because otherwise nothing will
+               /* Neither this nor the string_open() function flushes
+                  first before changing state. So, we need to remember
+                  closing the empty string, because otherwise nothing will
                   be emitted. */
                generator->string_empty = TRUE;
        }
index 51463df860f61855dc8e4421621a86e900c4772f..3e047ac1137165f26e5cddda75692fb7f4b40bea 100644 (file)
@@ -69,7 +69,7 @@ void json_istream_get_location(struct json_istream *stream,
    remainder of the JSON input, an error will occur. This function returns -1
    upon error, 0 when more input is needed to finish and 1 when finishing the
    input was successful. The error_r parameter will be set when the return value
-   is -1 and will return any (pre-existing or final) error in the stream. The
+   is -1 and will return any (preexisting or final) error in the stream. The
    provided stream is dereferenced implicitly when the return value is not 0. */
 int json_istream_finish(struct json_istream **_stream,
                        const char **error_r);
index 8f475f1bc4aec233d86ec78df48c38dd2d5229b5..12fdab01602f8428a99ecf4a109f1a9732c06508 100644 (file)
@@ -240,7 +240,7 @@ int json_ostream_descend_array(struct json_ostream *stream,
 void json_ostream_ndescend_array(struct json_ostream *stream,
                                 const char *name);
 
-/* Try to ascend from a JSON arrayh by writing ']' to the output stream.
+/* Try to ascend from a JSON array by writing ']' to the output stream.
    Returns 1 if buffered, 0 if not, -1 if error. */
 int json_ostream_ascend_array(struct json_ostream *stream);
 void json_ostream_nascend_array(struct json_ostream *stream);
index 08df2c496e890cb9ca8adfd16f2a749a7b23e2d9..c312e4182cf10946d8ae9881c66c9b0bdfe3e4c7 100644 (file)
@@ -111,7 +111,7 @@ enum json_parse_result {
        /* Parsed to end of currently buffered data */
        JSON_PARSE_NO_DATA = -4,
        /* Prevent call stack overflow
-         (to support arbitrarely deeply nested input) */
+         (to support arbitrarily deeply nested input) */
        JSON_PARSE_CALL_STACK_OVERFLOW = -3,
        /* Encountered invalid/unexpected syntax */
        JSON_PARSE_UNEXPECTED_EOF = -2,
@@ -1629,7 +1629,7 @@ json_parser_do_parse_string_value(struct json_parser *parser,
        if (parser->str_stream == NULL &&
            parser->str_stream_max_buffer_size > 0 &&
            max_size > parser->str_stream_threshold) {
-               /* Return string stream immediately once the treshold is
+               /* Return string stream immediately once the threshold is
                   crossed */
                max_size = parser->str_stream_threshold;
        }
index 5cb8c1e74d2879d7ea7e1d763a81cf9a9e09bed3..f5e8f9f5f30aed35e91c42047983543ebe612c6c 100644 (file)
@@ -1400,7 +1400,7 @@ invalid_parse_tests[] = {
                .input = "[\"\\",
        },
        {
-               // n_string_unescaped_crtl_char.json
+               // n_string_unescaped_ctrl_char.json
                .input = "[\"a\x00a\"]",
        },
        {
index 7c04df6ee518571ada097bf602c8859277896dd1..af256f7f8245806effbfaa697298d499a7e16958 100644 (file)
@@ -23,7 +23,7 @@ extern const struct lang_filter *lang_filter_stopwords;
 extern const struct lang_filter *lang_filter_stemmer_snowball;
 
 /*
- Settings: "id", description of the normalizing/translitterating rules
+ Settings: "id", description of the normalizing/transliterating rules
  to use.  See
  http://userguide.icu-project.org/transforms/general#TOC-Transliterator-Identifiers
  for syntax. Defaults to "Any-Lower; NFKD; [: Nonspacing Mark :] Remove; NFC"
index acb6e9990c65e2a031e417816a1b7b512b840ac2..10e28993d84ff88e1b8c149a09f19aece26dc597 100644 (file)
@@ -108,7 +108,7 @@ lang_tokenizer_address_parent_data(struct email_address_lang_tokenizer *tok,
        return TRUE;
 }
 
-/* Used to rewind past characters that can not be the start of a new localpart.
+/* Used to rewind past characters that cannot be the start of a new localpart.
  Returns size that can be skipped. */
 static size_t skip_nonlocal_part(const unsigned char *data, size_t size)
 {
@@ -348,7 +348,7 @@ lang_tokenizer_email_address_next(struct lang_tokenizer *_tok,
                                return 1;
                        break;
                case EMAIL_ADDRESS_PARSER_STATE_SKIP:
-                       /* The curernt token is too large to determine if it's
+                       /* The current token is too large to determine if it's
                           an email address or not. The address-tokenizer is
                           simply skipping over it, but the input is being
                           passed to the parent tokenizer. */
index 2514be5cfb162052dcd98ccac968bd29cf59c2cc..736d72a8bd56c9c7387670e3eecdf583cc82d9e2 100644 (file)
@@ -133,7 +133,7 @@ lang_tokenizer_generic_simple_current_token(struct generic_lang_tokenizer *tok,
                   into U+0027 earlier. There can be only a single such
                   apostrophe, because otherwise the token would have already
                   been split. We also want to remove the trailing apostrophe
-                  only if it's the the last character in the nontruncated
+                  only if it's the last character in the nontruncated
                   token - a truncated token may end with apostrophe. */
                if (len > 0 && data[len-1] == '\'') {
                        len--;
@@ -238,7 +238,7 @@ is_base64(const unsigned char ch)
 }
 
 /* So far the following rule seems give good results in avoid indexing base64
-   as keywords. It also seems to run well against against base64 embedded
+   as keywords. It also seems to run well against base64 embedded
    headers, like ARC-Seal, DKIM-Signature, X-SG-EID, X-SG-ID, including
    encoded parts (e.g. =?us-ascii?Q?...?= sequences).
 
@@ -343,7 +343,7 @@ lang_tokenizer_generic_simple_next(struct lang_tokenizer *_tok,
                apostrophe = IS_APOSTROPHE(c);
                if ((tok->prefixsplat && IS_PREFIX_SPLAT(c)) &&
                    (tok->prev_type == LETTER_TYPE_ALETTER)) {
-                       /* this might be a prefix-mathing query */
+                       /* this might be a prefix-matching query */
                        shift_prev_type(tok, LETTER_TYPE_PREFIXSPLAT);
                } else if ((break_type = lang_simple_is_word_break(tok, c, apostrophe))
                           != LANG_WORD_TO_WORD) {
index 052bb838d4b921de5c468421f49209e5046a6ae9..cfcae9c4bfb263a7e3c862978bbc99c27b4431b6 100644 (file)
@@ -34,7 +34,7 @@ void luaL_setmetatable (lua_State *L, const char *tname);
 
 #ifndef HAVE_LUA_ISINTEGER
 /*
- * Lua 5.3 can actually keep track of intergers vs. numbers.  As a
+ * Lua 5.3 can actually keep track of integers vs. numbers.  As a
  * consequence, lua_isinteger() tells us if the internal representation of
  * the number is an integer (vs. a number).  In previous versions, there was
  * no way to check for this and our compatibility wrapper is not quite
@@ -59,7 +59,7 @@ lua_Integer lua_tointegerx(lua_State *L, int idx, int *isnum_r);
 #if LUA_VERSION_NUM > 501 && LUA_VERSION_NUM < 504
 /*
  * lua_resume() compatibility function. Lua 5.4 expects an extra "nresults"
- * argeument.
+ * argument.
  */
 #  define lua_resume(L, from, nargs, nresults) \
        lua_resume_compat(L, from, nargs, nresults)
index a3e4fc398efac275e98f83e0fe307956cdf5b5d6..08c6ca238537dd9b29a64ef0942c4bd0fc6616cc 100644 (file)
@@ -10,7 +10,7 @@
  * In a couple of places we need to adjust the passed in index to reflect
  * additional items pushed onto the stack.  We cannot blindly adjust the
  * index because the index could be one of three things and only one of them
- * is supposed to be ajusted:
+ * is supposed to be adjusted:
  *
  *  1. negative number: index relative to top of stack, adjust
  *  2. positive number: absolute index, don't adjust
@@ -27,7 +27,7 @@ static inline int adj(int idx, int delta)
 /*
  * Pushes onto the stack the value t[k], where t is the value at the given
  * index and k is the value at the top of the stack.  Unlike lua_gettable(),
- * this function checks the type of the retreived value against the passed
+ * this function checks the type of the retrieved value against the passed
  * in type. [-1,+0..1,e]
  *
  * Return value:
index 1bb8a8401d5597128080dc51ddda3be4d63169e5..1736cfbe452fbeb14d960fa346d6af4ab2762610 100644 (file)
@@ -21,7 +21,7 @@ struct dot_istream {
        enum dot_state state;
        /* state didn't actually start with \r */
        bool state_no_cr:1;
-       /* state didn't contain \n either (only at the beginnign of stream) */
+       /* state didn't contain \n either (only at the beginning of stream) */
        bool state_no_lf:1;
        /* we've seen the "." line, keep returning EOF */
        bool dot_eof:1;
index a9410a86fac42761cb04f56c01f2809b4b7fbfdb..974cdba18460191d29c1ce88bcf399b54250bfb4 100644 (file)
@@ -237,7 +237,7 @@ void message_header_encode_b(const unsigned char *input, size_t len,
                        line_len_left -= n_out;
                }
 
-               /* Determine whether a repacement character needs to be written
+               /* Determine whether a replacement character needs to be written
                   and how much space there is left for it on the current line.
                 */
                space = 0;
index 0292563bc7d2853e1241ab977928e7a7ae5bd9f5..74eef7a278af563215132032f95f574b5dc8e566 100644 (file)
@@ -75,7 +75,7 @@ static const char *mail_broken_input_bodies[] = {
        /* extra whitespace */
        "Zm9v\n Zm9v\n",
        "Zm9v \nZm9v\n",
-       /* mixed LF vs CRLFs */
+       /* mixed LF vs CR LF */
        "Zm9vYmFy\r\nZm9vYmFy\n",
        "Zm9vYmFy\nZm9vYmFy\r\n",
        /* line length increases */
index cdf5b223058e2470260c475e9e9b5931abf67b81..28786ba08f1d039f0925849579a87cd0f69533e8 100644 (file)
@@ -154,7 +154,7 @@ decode_test(const char *qp_input, const char *output, int stream_errno,
                }
                test_assert(ret == -1);
                /* If there is no error still assume that the result is valid
-                * till artifical eof. */
+                * till artificial eof. */
                if (input->stream_errno == 0) {
                        unsigned int encoding_margin =
                                get_encoding_size_diff(qp_input, eof);
index 5e83b4e4f67299505abe4f8364bc0c4901488094..d312b89e55ecd97c57e6b03166e5fc883e8ebe06 100644 (file)
@@ -177,7 +177,7 @@ static int get_ssl_tlv(const unsigned char *kvdata, size_t dlen,
        if (dlen < SIZEOF_PP2_TLV_SSL)
                return -1;
        kv->client = kvdata[0];
-       /* spec does not specify the endianess of this field */
+       /* spec does not specify the endianness of this field */
        kv->verify = cpu32_to_cpu_unaligned(kvdata+1);
        kv->data = kvdata+SIZEOF_PP2_TLV_SSL;
        kv->len = dlen - SIZEOF_PP2_TLV_SSL;
index 2363032cfb4e4e604e8fd41bcf91cf03ba8b0ec1..a18cb39dbe00607217b93feaec9a3f5800bf6cc8 100644 (file)
@@ -318,7 +318,7 @@ static void sig_close_listeners(const siginfo_t *si ATTR_UNUSED, void *context)
        /* We're in a signal handler: Close listeners immediately so master
           can successfully restart. We can safely close only those listeners
           that don't have an io, but this shouldn't be a big problem. If there
-          is an active io, the service is unlikely to be unresposive for
+          is an active io, the service is unlikely to be unresponsive for
           longer periods of time, so the listener gets closed soon enough via
           master_status_error().
 
@@ -1693,7 +1693,7 @@ static void master_service_overflow(struct master_service *service)
        }
        if (service->master_status.available_count == 0) {
                /* Client was destroyed, but restart_request_count is now 0.
-                  The servive was already stopped, so the process will
+                  The service was already stopped, so the process will
                   shutdown and a new process can handle the waiting client
                   connection. */
                i_assert(service->restart_request_count_left == 0);
index ed546656fac78fa860ab060eabafd3cda39a762d..d9a174379435b532852daf2c302d603eda7c1deb 100644 (file)
@@ -116,7 +116,7 @@ static void stats_client_destroy(struct connection *conn)
                        timeval_diff_msecs(&ioloop_timeval,
                                           &conn->connect_finished);
                if (msecs_since_connected >= STATS_CLIENT_RECONNECT_INTERVAL_MSECS) {
-                       /* reconnect immdiately */
+                       /* reconnect immediately */
                        reconnect_msecs = 0;
                } else {
                        /* wait for reconnect interval since we last
index aa06750887da3ee8213f2cd67ab0a61f9c8bbf53..9b25ea52f7ba20b70bf29dd77f808942c16dffaa 100644 (file)
@@ -26,7 +26,7 @@ struct oauth2_settings {
        const char *introspection_url;
        /* POST refresh here, needs refresh token and client_* settings */
        const char *refresh_url;
-       /* client identificator for oauth2 server */
+       /* client identifier for oauth2 server */
        const char *client_id;
        /* client secret for oauth2 server */
        const char *client_secret;
index 1c23ee1edf88a3f9388a23ffe1afd5b14f6a6d0e..138535f9f8dd68486261b08246292887c71f51fd 100644 (file)
@@ -41,7 +41,7 @@ enum setting_type {
        SET_ENUM,
        SET_FILE, /* string: <path> [<LF> file contents] */
        SET_STRLIST, /* of type ARRAY_TYPE(const_string) */
-       SET_BOOLLIST, /* of type ARRAY_TYPE(const_string) - guaranteed NULL-terminted */
+       SET_BOOLLIST, /* of type ARRAY_TYPE(const_string) - guaranteed NULL-terminated */
        SET_ALIAS, /* alias name for above setting definition */
        SET_FILTER_NAME,
        SET_FILTER_ARRAY,
index 3e255560653b16c9fd187dee810fb363134e4977..7dd2b1a63255a2ba8c4f7e4fac5033b2aba859da 100644 (file)
@@ -1174,7 +1174,7 @@ settings_mmap_apply(struct settings_apply_ctx *ctx, const char **error_r)
                .type = LOG_TYPE_DEBUG,
        };
 
-       /* So through the filters in reverse sorted order, so we always set the
+       /* Go through the filters in reverse sorted order, so we always set the
           setting just once, never overriding anything. A filter for the base
           settings is expected to always exist. */
        struct event *event = ctx->event;
index 18463937ac5fdae96e21808f3cd911b820d16296..562e0f4c849fedda1e852b1a7c197592b9c3e16e 100644 (file)
@@ -461,7 +461,7 @@ int smtp_parser_parse_quoted_string(struct smtp_parser *parser,
           qtextSMTP        = %d32-33 / %d35-91 / %d93-126
                            ; i.e., within a quoted string, any
                            ; ASCII graphic or space is permitted
-                           ; without blackslash-quoting except
+                           ; without backslash-quoting except
                            ; double-quote and the backslash itself.
         */
 
index e489a3125e54e7bc233c7b24e2229a808d88bcf5..f2ef80ae3d2333a5761e49c5b579539ddd0d0775 100644 (file)
@@ -1535,7 +1535,7 @@ void smtp_server_connection_add_extra_capability(
        i_assert(smtp_ehlo_keyword_is_valid(cap->name));
        i_assert(smtp_ehlo_params_are_valid(cap->params));
 
-       /* Cannot override standard capabiltiies */
+       /* Cannot override standard capabilities */
        i_assert(smtp_capability_find_by_name(cap->name)
                 == SMTP_CAPABILITY_NONE);
 
index 330ffd0927771c9a8062f909f94c585a30129263..8e99872d849ca9567aa28e7504a80bef18c1740e 100644 (file)
@@ -1487,7 +1487,7 @@ test_client_premature_reply_login_cb(const struct smtp_reply *reply,
        case 5:
                test_assert(reply->status ==
                            SMTP_CLIENT_COMMAND_ERROR_BAD_REPLY);
-               /* Don't bother continueing with this test. Second try after
+               /* Don't bother continuing with this test. Second try after
                   smtp_client_transaction_start() will have the same result. */
                smtp_client_transaction_abort(pctx->trans);
                break;
index bf42f5bc3ea197d1851276999add622ba40898fd..d5057b3a27c595d00a66d8a1320882ad46d565e2 100644 (file)
@@ -759,7 +759,7 @@ static int driver_mysql_try_commit_s(struct mysql_transaction_context *ctx)
        struct sql_transaction_context *_ctx = &ctx->ctx;
        bool multi = _ctx->head != NULL && _ctx->head->next != NULL;
 
-       /* wrap in BEGIN/COMMIT only if transaction has mutiple statements. */
+       /* wrap in BEGIN/COMMIT only if transaction has multiple statements. */
        if (multi && transaction_send_query(ctx, "BEGIN", NULL) < 0) {
                if (_ctx->db->state != SQL_DB_STATE_DISCONNECTED)
                        return -1;
index 8b65f7b1d5a344a69d501060b0f557483dc1912d..108f468e832b241c24a171d3c3877cf16c1b6c81 100644 (file)
@@ -87,7 +87,7 @@ bool openssl_cert_match_name(SSL *ssl, const char *verify_name,
        char *peername;
        int check_res;
 
-       /* First check DNS name agains CommonName or SubjectAltNames.
+       /* First check DNS name against CommonName or SubjectAltNames.
           If failed, check IP addresses. */
        if ((check_res = X509_check_host(cert, verify_name, strlen(verify_name),
                                         X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS,
index 3e03ad93dea39f7bb6dfb6e7682e5c55c879873f..474d58e95eecd209a0ae002ba004e9cdd18ed31f 100644 (file)
@@ -397,7 +397,7 @@ imapc_mailbox_msgmap_update(struct imapc_mailbox *mbox,
        if (fetch_uid != 0 && mbox->state_fetched_success &&
            (IMAPC_BOX_HAS_FEATURE(mbox, IMAPC_FEATURE_FETCH_MSN_WORKAROUNDS) ||
             IMAPC_BOX_HAS_FEATURE(mbox, IMAPC_FEATURE_NO_MSN_UPDATES))) {
-               /* if we know the UID, use own own generated rseq instead of
+               /* if we know the UID, use own generated rseq instead of
                   the potentially broken rseq that the server sent.
                   Skip this during the initial FETCH 1:* (UID ..) handling,
                   or we can't detect duplicate UIDs and will instead
@@ -455,7 +455,7 @@ imapc_mailbox_msgmap_update(struct imapc_mailbox *mbox,
                    uid < mail_index_get_header(mbox->delayed_sync_view)->next_uid) {
                        /* message is already added to index */
                } else if (mbox->state_fetching_uid1) {
-                       /* Initial fetching, allow messages to be appened to
+                       /* Initial fetching, allow messages to be appended to
                           index directly */
                        mail_index_append(mbox->delayed_sync_trans,
                                          uid, lseq_r);
index b6a933a333d514ba7da8276e4ccb0b175902b8d3..b025faa7cefd0290258e6fe1879d0f5c9a17b08d 100644 (file)
@@ -424,7 +424,7 @@ imapc_expunge_construct_cmd_str(string_t *store_cmd,
        str_append(store_cmd, " +FLAGS (\\Deleted)");
        str_append(expunge_cmd, "UID EXPUNGE ");
        str_append_str(expunge_cmd, uids);
-       /* Clear already appened uids */
+       /* Clear already appended uids */
        str_truncate(uids, 0);
 }
 
index 6f0f221c50b7445cd4e3ffe7da4c5693432a67dd..e5a9fd6d8cfb1057a79bd1df2742965e6cd05d1f 100644 (file)
@@ -649,7 +649,7 @@ static bool imapc_mailbox_need_initial_fetch(struct imapc_mailbox *mbox)
        }
        if ((mbox->box.flags & MAILBOX_FLAG_SAVEONLY) != 0) {
                /* The mailbox is opened only for saving there is no need to
-                  expect initial fetchting do be done. */
+                  expect initial fetching do be done. */
                return FALSE;
        }
        return TRUE;
index 1daa67cd00609971bbe45f79030ab3c1898b9bb5..70060ba4f75aaf37b0f62efcb0071444f1ab4244 100644 (file)
@@ -1907,7 +1907,7 @@ void index_mail_close(struct mail *_mail)
        /* If uid == 0 but seq != 0, we came here from saving a (non-mbox)
           message. If that happens, don't bother checking if anything should
           be cached since it was already checked. Also by now the transaction
-          may have already been rollbacked and seq point to a nonexistent
+          may have already been rolled back and seq point to a nonexistent
           message. */
        if (mail->mail.mail.uid != 0) {
                index_mail_cache_sizes(mail);
index 0eaaab57305d3ec1016eeed4ce1467ffcc3da91b..1943467cc7861f6d95dfb6590f8f452122e9ed89 100644 (file)
@@ -199,7 +199,7 @@ index_index_rebuild_init(struct mailbox *box, struct mail_index_view *view,
        enum mail_index_open_flags open_flags = MAIL_INDEX_OPEN_FLAG_READONLY;
 
        /* Rebuilding really should be done locked so multiple processes won't
-          try to rebuild concurrently. Also at the end of rebiuld cache
+          try to rebuild concurrently. Also at the end of rebuild cache
           purging requires this lock. */
        i_assert(mail_index_is_locked(view->index));
 
index 39829576f5794f06914c83154e7fedb130a2c216..20ed49befd42a691c931381626abb639066270d3 100644 (file)
@@ -563,7 +563,7 @@ static int index_list_mailbox_open(struct mailbox *box)
           we don't keep rewriting the name just in case some backend switches
           between separators when accessed different ways. */
 
-       /* Get the current mailbox name with \0 separators and unesacped. */
+       /* Get the current mailbox name with \0 separators and unescaped. */
        size_t box_name_len;
        const unsigned char *box_zerosep_name =
                mailbox_name_hdr_encode(box->list, box->name, &box_name_len);
index bd255ec27d19c0eab1cd0bb8a0e8733c5a232c94..5f55a27cf8ca02705391fd8427d15fa29a0353d5 100644 (file)
@@ -403,7 +403,7 @@ static int mailbox_list_index_parse_records(struct mailbox_list_index *ilist,
        }
 
        /* do a second scan to create the actual mailbox tree hierarchy.
-          this is needed because the parent_uid may be smaller or higher than
+          this is needed because the parent_uid may be greater than or less than
           the current node's uid */
        if (*error_r != NULL && ilist->has_backing_store)
                count = 0;
index 0ef1306ff455a72199841962fcf1fce84f98a7d5..f821e099e640078cc6abb8aab82a16ca019a8b25 100644 (file)
@@ -389,7 +389,7 @@ mail_search_args_have_all_equal(struct mail_search_arg *parent_arg,
    A + (A.B) =  (A.1) + (A.B)  = A(1 + B)  = A  (OR Absorption Law)
    A(A + B)  = (A + 0).(A + B) = A + (0.B) = A  (AND Absorption Law)
 
-   Cases with multiple shared terms (duals appy as well)
+   Cases with multiple shared terms (duals apply as well)
 
    A + B + (A.C) + (B.C) = (A + (A.C)) + (B + B.C))  (apply law to sides of external sum))
                          = A + B
index e6904547ee6cdf4dc33b8a35c03966d7059cbbb2..76da2bc35406403c5081bc56157440cbf6050e10 100644 (file)
@@ -15,7 +15,7 @@ struct mail_search_mime_build_context {
        struct mail_search_mime_arg *parent;
 };
 
-/* Start building a new MIMPART search key. Use mail_search_mime_args_unref()
+/* Start building a new MIMEPART search key. Use mail_search_mime_args_unref()
    to free it. */
 struct mail_search_mime_part *mail_search_mime_build_init(void);
 
index 0535587c4cc5b01d16ef972fbd0421cb14e9a8ac..86f5d4b056995d894565facb6ef9c152612500af 100644 (file)
@@ -23,7 +23,7 @@ int mail_search_parse_key(struct mail_search_parser *parser,
 /* Get the next string. Returns 0 if ok, -1 if parsing error. */
 int mail_search_parse_string(struct mail_search_parser *parser,
                             const char **value_r);
-/* If next parameter equals to the given string case-insensitively, skip over
+/* If next parameter equals the given string case-insensitively, skip over
    it and return TRUE. Otherwise do nothing and return FALSE. */
 bool mail_search_parse_skip_next(struct mail_search_parser *parser,
                                 const char *str);
index fdae32c0e3b3b68616d81e2e358d245842b728ff..4dd48f7282bee2eb9e1074de8478bf8203fa9d97 100644 (file)
@@ -1039,7 +1039,7 @@ struct mailbox *mailbox_alloc(struct mailbox_list *list, const char *vname,
            !str_begins_with(vname, "INBOX")) {
                /* make sure INBOX shows up in uppercase everywhere. do this
                   regardless of whether we're in inbox=yes namespace, because
-                  clients expect INBOX to be case insensitive regardless of
+                  clients expect INBOX to be case-insensitive regardless of
                   server's internal configuration. */
                if (suffix[0] == '\0')
                        vname = "INBOX";
index b821ef55020a3879e5c100db0be06a0c9e09b821..6768c972faefeafe1a3c14c5da91e25a88931e1e 100644 (file)
@@ -16,7 +16,7 @@ struct message_size;
 /* If some operation is taking long, call notify_ok every n seconds. */
 #define MAIL_STORAGE_NOTIFY_INTERVAL_SECS 10
 
-/* Expunge transactions are to be commited after
+/* Expunge transactions are to be committed after
    every MAIL_EXPUNGE_BATCH_SIZE mails */
 #define MAIL_EXPUNGE_BATCH_SIZE 1000
 
index 5a72d7c40f7e804ca404a28c1022c2e78b18767a..fea766cd588e2b45f27f84247f491e297e7c5fb3 100644 (file)
@@ -316,7 +316,7 @@ static bool var_expand_crypt_initialize(const char **error_r)
 
 void var_expand_crypt_init(struct module *module ATTR_UNUSED)
 {
-       /* do not initialize dcrypt here - saves alot of memory
+       /* do not initialize dcrypt here - saves a lot of memory
           to not load openssl every time. Only load it if
           needed */
 
index 1978b2adec180e2691ca79fde4739c248828b267..68c04c521270734eec0c17a351eb625236b8d42a 100644 (file)
@@ -9,7 +9,7 @@ YACC=/bin/false
 # of lex and yacc (or bison in yacc-compatibility mode).  Both flex and
 # bison can handle properly naming the generated files, and it is simpler
 # and cleaner to make this rule ourselves instead of working around ylwrap
-# and yywrap's antiquated notion of what is hapenning.
+# and yywrap's antiquated notion of what is happening.
 .l.c:
        $(AM_V_GEN)$(FLEX) -o $@ $<
 
index 93d4164d9e6bea3ff5816f526496799f911762a7..3f467be09441768e7a88310ae15ad35d9cfa24aa 100644 (file)
@@ -39,7 +39,7 @@ bool var_expand_execute_stmt(struct var_expand_state *state,
                        ret = (*fn)(stmt, state, &error);
                } T_END_PASS_STR_IF(ret < 0, &error);
                i_free(delayed_error);
-               /* this is to allow e.g. defaut to work correctly */
+               /* this is to allow e.g. default to work correctly */
                if (ret < 0) {
                        var_expand_state_unset_transfer(state);
                        if (state->delayed_error != NULL) {
index 2981499e4d3c5b00147b540cca369982383007be..6da8a308e5bbb9a93ddd7364a33a16d3114819b9 100644 (file)
@@ -19,7 +19,7 @@ YACC=/bin/false
 # of lex and yacc (or bison in yacc-compatibility mode).  Both flex and
 # bison can handle properly naming the generated files, and it is simpler
 # and cleaner to make this rule ourselves instead of working around ylwrap
-# and yywrap's antiquated notion of what is hapenning.
+# and yywrap's antiquated notion of what is happening.
 .l.c:
        $(AM_V_GEN)$(FLEX) -o $@ $<
 
index 177dc6f936d5c576ba8c22af4249d6b585b10d05..8b52c85e8fd3d72d879e7f125d0d5316225416d0 100644 (file)
@@ -4,7 +4,7 @@
 struct hash_format;
 
 /* Initialize formatting hash. Format can contain text with %{sha1} style
-   variables. Each hash hash can be also truncated by specifying the number
+   variables. Each hash can be also truncated by specifying the number
    of bits to truncate to, such as %{sha1:80}. */
 int hash_format_init(const char *format_string, struct hash_format **format_r,
                     const char **error_r);
index 3b4a40905bcf5f8860a8cfef93564d564084e7e2..e625699dda3635f5df335a95e28d49808a10a696 100644 (file)
@@ -9,7 +9,7 @@ struct hook_stack {
        struct hook_stack *prev, *next;
 
        /* Pointer to vfuncs struct. This assumes that a struct containing
-          function pointers equals to an array of function pointers. Not
+          function pointers equals an array of function pointers. Not
           ANSI-C, but should work in all OSes supported by Dovecot. Much
           easier anyway than doing this work manually.. */
        void (**vfuncs)();
index e38bc3d2c74626c086b87043dbc2ed7f5cacc829..06a84492fa9cefac224c3a9808f4786b70614d2b 100644 (file)
@@ -235,7 +235,7 @@ void io_loop_context_unref(struct ioloop_context **ctx);
    The ioloop context is a global state, so only a single context can be active
    at a time. The callbacks are guaranteed to be called only at their proper
    states, i.e. activate() callback is called only when switching from
-   no context to the active context, and deactive() is called only when
+   no context to the active context, and deactivate() is called only when
    switching from previously activated context into no context. No context is
    active at a time when the ioloop is destroyed. */
 void io_loop_context_add_callbacks(struct ioloop_context *ctx,
index 5e8850f0e125afb6787cb85cb07ff9c4a16634f6..985c3d1eabdb36f7c69f0c964a7571e20aa36b4c 100644 (file)
@@ -16,7 +16,7 @@ The proxy requires you to provide completion callback. The
 completion callback is called with success parameter to
 indicate whether it ended with error.
 
-The istreams and ostreams are reffed on creation and unreffed
+The istreams and ostreams are reffed on creation and unrefed
 on unref.
 
 **/
index a7191673587c2278be2901354bc5021884302d94..ee81dd075a429a5d00b88ebd2592244425ff9930 100644 (file)
@@ -10,7 +10,7 @@
    callback is called with success parameter to indicate whether it ended
    with error.
 
-   The istream and ostream are reffed on creation and unreffed
+   The istream and ostream are reffed on creation and unrefed
    on unref.
  */
 
index dee6c12fda7d5c5e01df1607bf531c9555eb7a5f..acab9feed5989c144e22a9cb363960b13fa7a9ef 100644 (file)
@@ -237,7 +237,7 @@ i_stream_read_more(struct istream *stream, const unsigned char **data_r,
    indicated limit. Use this function to prevent growing the stream buffer
    beyond what the application is willing to read immediately. Since this
    function doesn't fully prevent buffering beyond the limit, the amount of data
-   actually buffered can exceed the limit. However, *size_r will allways be <=
+   actually buffered can exceed the limit. However, *size_r will always be <=
    limit to avoid confusion. */
 int i_stream_read_limited(struct istream *stream, const unsigned char **data_r,
                          size_t *size_r, size_t limit);
index bd544670b3f315128a54d860c99a51e7fcd76d23..cc1b7d71e5662dcc1e248701b8abcdf96601ae27 100644 (file)
@@ -51,7 +51,7 @@ enum event_code {
 struct event_internal_category {
        /* More than one category can be represented by the internal state.
           To give consumers a unique but consistent category pointer, we
-          return a pointer to this 'represetative' category structure.
+          return a pointer to this 'representative' category structure.
           Because we allocated it, we know that it will live exactly as
           long as we need it to. */
        struct event_category representative;
@@ -340,7 +340,7 @@ static inline void replace_parent_ref(struct event *event, struct event *new)
  *     G -> E -> F
  *
  * where G contains the fields and categories of A, B, and C (and trivially
- * D beacuse D was empty).
+ * D because D was empty).
  *
  * Note that even though F has not yet been sent out, we send it now because
  * it is part of the "rest" range.
index a80303b610a530577c21bcb52b9efc4697d8f83f..3b9872cb207ba2f4e70add14fecf413092695afd 100644 (file)
@@ -122,7 +122,7 @@ p_malloc(pool_t pool, size_t size)
 }
 
 /* For allocfree and system pools you can use SIZE_MAX
-   to indicate that you have no knowlege of the old size. */
+   to indicate that you have no knowledge of the old size. */
 static inline void * ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL
 p_realloc(pool_t pool, void *mem, size_t old_size, size_t new_size)
 {
index 4bbea8aa6e4cfa6bb6b53ab36a9d4fa2534eae14..f73e684b74f9f59be41343ced4551824464c189a 100644 (file)
@@ -238,7 +238,7 @@ static bool nfs_flush_fcntl(const char *path, int fd)
                return FALSE;
 
        /* If the file was already locked, we'll just get the same lock
-          again. It should succeed just fine. If was was unlocked, we'll
+          again. It should succeed just fine. If was unlocked, we'll
           have to get a lock and then unlock it. Linux 2.6 flushes read cache
           only when read/write locking succeeded. */
        fl.l_type = F_RDLCK;
index 3fb6cccaf4ad9043485fa8b9cc0c682289423e10..b85562fa1f1b9c112385900729fda05891b04107 100644 (file)
@@ -102,7 +102,7 @@ struct wrapper_ostream {
        bool output_started:1;
        /* Output was finished (output_finish() vfunc was called). */
        bool output_finished:1;
-       /* Output was was closed somehow. This means that the output is no
+       /* Output was closed somehow. This means that the output is no
           longer available. This is not the same as the ostream close flag. */
        bool output_closed:1;
        /* Output was closed directly or indirectly by the application action.
index b9a802d4d99c95710bf8523c07a77d9539c2e2c8..1c8853a8b638647a74f7c568deaed16d00c318b7 100644 (file)
@@ -6,7 +6,7 @@
 #include "unichar.h"
 #include "punycode.h"
 
-/* Bootstring parameters for Punycode */
+/* Boot string parameters for Punycode */
 
 static const unsigned int base = 36; /* maximum basic code point */
 static const unsigned int tmin = 1;
index 54d6800dac7f0ea96c0d6aca34fdd3fca28d92ee..59dc617568e9c1e6508ce96b70409240038f6a03 100644 (file)
@@ -17,7 +17,7 @@ kiss_init(unsigned int seed)
 {
        i_info("Random numbers are PRNG using kiss, as per DOVECOT_SRAND=%u", seed);
        kiss_seed = seed;
-       kiss_jsr = 0x5eed5eed; /* simply musn't be 0 */
+       kiss_jsr = 0x5eed5eed; /* simply mustn't be 0 */
        kiss_z = 1 ^ (kiss_w = kiss_jcong = seed); /* w=z=0 is bad, see Rose */
        kiss_in_use = TRUE;
 }
index b5649b7e28c443f7423b19fe8573fd0370bc6da0..504f1d1e7b7310e0444cac0e70fa9bf36cb07d09 100644 (file)
@@ -58,7 +58,7 @@ seqset_builder_create_or_merge_range(struct seqset_builder *builder,
 void seqset_builder_add(struct seqset_builder *builder, uint32_t seq)
 {
        if (builder->last_seq == 0) {
-               /* No seq was yet appened so just append this one */
+               /* No seq was yet appended so just append this one */
                seqset_builder_append_one(builder, seq);
        } else if (builder->last_seq + 1 == seq) {
                /* This seq is following directly on the previous one
@@ -106,7 +106,7 @@ bool seqset_builder_try_add(struct seqset_builder *builder, size_t max_len,
 
 void seqset_builder_deinit(struct seqset_builder **builder)
 {
-       /* If anything was appened to the string remove the trailing ',' */
+       /* If anything was appended to the string remove the trailing ',' */
        if ((*builder)->last_seq != 0)
                str_truncate((*builder)->str, str_len((*builder)->str) - 1);
        i_free(*builder);
index 0fc148ec94e6f6d011cedf79f74a2ee80985b1fa..22ae1f2362e92abf0b4803a7546267ada8ec5da5 100644 (file)
@@ -45,7 +45,7 @@ static inline void str_append_c(string_t *str, unsigned char chr)
 }
 /* This macro ensures we add unsigned char to str to avoid
    implicit casts which cause errors with clang's implicit integer truncation
-   sanitizier. Issues caught by these sanitizers are not undefined behavior,
+   sanitizer. Issues caught by these sanitizers are not undefined behavior,
    but are often unintentional.
    We also need to check that the type we are adding is compatible with char,
    so that we don't end up doing a narrowing cast. */
index a46f955c6396e457a226c75aba5079affbb8edec..2fc684c3bf11913605659e8d7153369d1aa60a2e 100644 (file)
@@ -43,7 +43,7 @@ int str_to_uintmax(const char *str, uintmax_t *num_r)
 int str_parse_uintmax(const char *str, uintmax_t *num_r,
        const char **endp_r) ATTR_WARN_UNUSED_RESULT ATTR_NULL(3);
 
-/* Returns TRUE if str is a valid unsigned number that equals to num. */
+/* Returns TRUE if str is a valid unsigned number that equals num. */
 bool str_uint_equals(const char *str, uintmax_t num);
 
 /*
index 444f16f25245fcd5c5c6f4597582a17ead0f74e7..7e9b85b963285eaac4a3bc5f2c259733d73cc0d1 100644 (file)
@@ -116,7 +116,7 @@ static void test_binary_expr(struct event *event,
         *  - numbers 5, 6, and 7 are equivalent
         *  - numbers 9, 10, and 11 are equivalent
         *
-        * The truth arugments specify the expected truth-iness of the
+        * The truth arguments specify the expected truth-iness of the
         * passed in expressions.
         */
 #define BINARY(opstr, op)                                              \
index c18c4aa08b80f0a8b336242abf9afb3e52b739c3..cfbeafebe3cfcf28c81d91258fa0949a981e18a9 100644 (file)
@@ -42,7 +42,7 @@ static void test_imem_alloc(void)
        test_assert(s1 == NULL);
        test_assert(s2 == NULL);
 
-       /* allcating new memory with realloc */
+       /* allocating new memory with realloc */
        s1 = i_realloc_type(NULL, struct test_struct, 0, 2);
        s2 = i_realloc(NULL, 0, sizeof(struct test_struct) * 2);
        s1[0] = ab; s2[0] = ab;
index 598c08f03c94e9e4a96c4e54a76569277bdc0048..63d7031ec066f8d246d403f938ec00cb916eee4a 100644 (file)
@@ -230,7 +230,7 @@ test_istream_base64_io_random(void)
                        i_stream_ref(sinput3);
                }
 
-               /* Create second deoder stream */
+               /* Create second decoder stream */
                input5 = i_stream_create_base64_decoder(sinput3);
                i_stream_set_name(input5, "[base64_decoder #2]");
 
index 75d324a835eb787969361f35ba0ea8590c91d48b..9f3b295b8592f2eb6037d009510d6e4037ea6f30 100644 (file)
@@ -168,7 +168,7 @@ test_lib_signals_delayed_no_ioloop_automove(void)
        test_assert(!tctx.signal_handled);
        tctx.timed_out = FALSE;
 
-       /* run inner ioloop, which triggers the signal but musn't handle it */
+       /* run inner ioloop, which triggers the signal but mustn't handle it */
        ioloop2 = io_loop_create();
        to_kill = timeout_add_short(200, kill_timeout, &tctx);
        to_test = timeout_add_short(400, test_timeout, &tctx);
index 35ed67704a6055d12ba5736ded88ba884af5a9d7..b89029b0cfcc722cef6a80a2293126af940279a6 100644 (file)
@@ -56,7 +56,7 @@ static inline const char *uri_char_sanitize(unsigned char c)
    character is returned in ch_r upon success. */
 int uri_parse_pct_encoded(struct uri_parser *parser, unsigned char *ch_r);
 
-/* Parse characters as long as these comply with the the 'unreserved' syntax.
+/* Parse characters as long as these comply with the 'unreserved' syntax.
    Returns 1 if characters were found, 0 if none were found, and -1 if there was
    an error. */
 int uri_parse_unreserved(struct uri_parser *parser, string_t *part);
index ee198d086fe686920e2bb34b4705d4cc70ee1cb5..e39a6498a785a96bcd3f469f73d755d355ddab13 100644 (file)
@@ -824,7 +824,7 @@ service_process_failure(struct service_process *process, int status)
                   processes that were already running for a while.
                   Try to avoid failure storms at Dovecot startup by throttling
                   the service if it only keeps failing rapidly. This is no
-                  longer done after the service looks to be generailly working,
+                  longer done after the service looks to be generally working,
                   in case an attacker finds a way to quickly crash their own
                   session. */
                if (service->exit_failure_last != ioloop_time) {
index fa546b9a7c960c1734c9655aa88fe55be134833b..f22f0619ae58dbd0f8de9bd1072e1548cd3fc5bb 100644 (file)
@@ -65,7 +65,7 @@ struct service {
           idle_start == 0. */
        struct service_process *busy_processes;
        /* linked list of processes belonging to this service, which have
-          ldle_start != 0. */
+          idle_start != 0. */
        struct service_process *idle_processes_head, *idle_processes_tail;
 
        /* number of processes currently created for this service */
@@ -160,7 +160,7 @@ struct service_list {
        struct io *io_master;
        int master_fd;
 
-       /* nonblocking log fds usd by master */
+       /* nonblocking log fds used by master */
        int master_log_fd[2];
        struct service_process_notify *log_byes;
 
index 5f091f5a109f4fdc1615f39a80152f925765a254..bfc1b6bc794463b507ad2b34c4f94c0c3f15b76b 100644 (file)
@@ -284,7 +284,7 @@ iter_mailbox_has_visible_children(struct mailbox_list_iterate_context *_ctx,
           the list pattern? */
        if (ctx->lookup_boxes != NULL) {
                /* we have a list of mailboxes with LOOKUP rights. before
-                  starting the slow list iteration, check check first
+                  starting the slow list iteration, check first
                   if there even are any children with LOOKUP rights. */
                struct mailbox_node *node;
 
@@ -402,7 +402,7 @@ acl_mailbox_list_info_is_visible(struct mailbox_list_iterate_context *_ctx)
            iter_mailbox_has_visible_children(_ctx, TRUE, FALSE)) {
                /* no child mailboxes match the list pattern(s), but mailbox
                   has visible children. we'll need to show this as
-                  non-existent. */
+                  nonexistent. */
                info->flags = MAILBOX_NONEXISTENT | MAILBOX_CHILDREN |
                        (info->flags & PRESERVE_MAILBOX_FLAGS);
                return 1;
index a74fabb33c8561980a18f20ab6d1a9223b1543c1..f9826b3ac6fe80ddac316e7c89dc61846d980f6e 100644 (file)
@@ -73,7 +73,7 @@ extern "C" {
 #define FLATCURVE_XAPIAN_DB_CURRENT_PREFIX "current."
 
 /* These are temporary data types that may appear in the fts directory. They
- * are not intended to perservere between sessions. */
+ * are not intended to persist between sessions. */
 #define FLATCURVE_XAPIAN_DB_OPTIMIZE "optimize"
 
 /* Xapian "recommendations" are that you begin your local prefix identifier
@@ -81,7 +81,7 @@ extern "C" {
  * "convention". However, this recommendation is for maintaining
  * compatability with the search front-end (Omega) that they provide. We don't
  * care about compatability, so save storage space by using single letter
- * prefixes. Bodytext is stored without prefixes, as it is expected to be the
+ * prefixes. Body text is stored without prefixes, as it is expected to be the
  * single largest storage pool. */
 
 /* Caution: the code below expects these prefix to be 1-char long */
@@ -628,7 +628,7 @@ static void fts_flatcurve_xapian_unlock(struct flatcurve_fts_backend *backend)
        file_lock_free(&backend->xapian->lock);
 }
 
-/* Returns: 0 if read DB is null, 1 if database has been addeds, -1 on error */
+/* Returns: 0 if read DB is null, 1 if database has been added, -1 on error */
 static int
 fts_flatcurve_xapian_db_read_add(struct flatcurve_fts_backend *backend,
                                 struct flatcurve_xapian_db *xdb,
@@ -1381,7 +1381,7 @@ fts_flatcurve_xapian_close_db(struct flatcurve_fts_backend *backend,
                                       FLATCURVE_XAPIAN_DB_CLOSE_MBOX)) {
                        int ret = 0;
                        try {
-                               /* even if xapian documetation states that close
+                               /* even if xapian documentation states that close
                                auto-commits, GlassWritableDatabase::close() can
                                fail to actually close the db if commit fails.
                                We explicitly commit before invoking close to
index e0eb56463775a1142da250317c1a45e4811fbee5..034e4605e1d2537ee50ebc1983378ae569d4bc86 100644 (file)
@@ -124,7 +124,7 @@ fts_build_tokenized_hdr_update_lang(struct fts_mail_build_context *ctx,
 {
        /* Headers that don't contain any human language will only be
           translated to lowercase - no stemming or other filtering. There's
-          unfortunately no pefect way of detecting which headers contain
+          unfortunately no perfect way of detecting which headers contain
           human languages, so we check with fts_header_has_language if the
           header is something that's supposed to containing human text. */
        if (fts_header_has_language(hdr->name))
@@ -232,7 +232,7 @@ fts_build_body_begin(struct fts_mail_build_context *ctx,
        } T_END;
 
        if (fts_parser_init(&parser_context, &ctx->body_parser)) {
-               /* extract text using the the returned parser */
+               /* extract text using the returned parser */
                *binary_body_r = TRUE;
                key.type = FTS_BACKEND_BUILD_KEY_BODY_PART;
        } else if (str_begins_with(parser_context.content_type, "text/") ||
index 8231ca6d3edd45ed27d015441a40ed19d67c7d24..ea4fc2e35eeda90f77ad3c877b25e1eec4d09a77 100644 (file)
@@ -699,7 +699,7 @@ static void cmd_mcp_key_export_cb(const struct generated_key *key,
                        doveadm_print("");
                } else {
                        /* this is to make it more compatible with openssl cli
-                          as it expects BEGIN on it's own line */
+                          as it expects BEGIN on its own line */
                        doveadm_print(t_strdup_printf("\n%s", str_c(out)));
                }
                dcrypt_key_unref_private(&pkey);
index c8355d3e82ee518a23ddd92dbd14c308981c4d95..76a9d3068ef9be6a9f95405bd4c608466089345b 100644 (file)
@@ -505,7 +505,7 @@ bool quota_root_is_visible(struct quota_root *root, struct mailbox *box)
        } else {
                /* This is a shared mailbox. The quota user is the actual owner
                   of the mailbox, but the mailbox is accessed via another
-                  user. Currently each shared namepace gets its own owner
+                  user. Currently each shared namespace gets its own owner
                   mail_user, even when the same user has multiple shared
                   namespaces. So we don't need to verify whether the namespace
                   matches - there is always only one. */
index 5674e974f4bf88d6ca3c28cff17b86cfd061a34a..2744e502451ea4cfc16674234453aeb55ad70dcb 100644 (file)
@@ -45,7 +45,7 @@ void event_export_helper_fmt_unix_time(string_t *dest, const struct timeval *tim
 /* append category names using 'append' function pointer, separated by 'separator' arg
 
    The result has no duplicates regardless of if the array has any or if any
-   of the categories' ancestors are implictly or explicitly duplicated. */
+   of the categories' ancestors are implicitly or explicitly duplicated. */
 void event_export_helper_fmt_categories(string_t *dest,
                                        const struct event *event,
                                        void (*append)(string_t *, const char *),
index c2adf2edc6fde500b7d0236f2e8364184d1e1092..8208b5b3fd6b582e88849a0835df61f382977fa0 100644 (file)
@@ -228,7 +228,7 @@ test_stats_metrics_group_by_discrete_real(const struct discrete_test *test,
 
        struct metric *const *first = array_idx(&root_metric->sub_metrics, 0);
 
-       /* examime each sub-metric */
+       /* examine each sub-metric */
        for (i = 0; i < test->num_values; i++) {
                test_stats_metrics_group_by_check_one(first[i],
                                                      test->values_first[i],
index 42776a87df9de3db2d31d3561fb6b78edd53fa55..00e6642510abe3ef905de6de6aa7b843e6e6f6af 100644 (file)
@@ -236,7 +236,7 @@ client_create_from_input(const struct mail_storage_service_input *input,
                        /* nothing to do */
                }
 
-               /* NOTE: actually, pipelining the AUTH command is stricly
+               /* NOTE: actually, pipelining the AUTH command is strictly
                         speaking not allowed, but we support it anyway.
                 */
        }
index 41b404c0d4f835fbcf6da0011353766bcaebfb0a..4ca84ce61b06f79af6c7f1aa95ac4f83a4945ede 100644 (file)
@@ -499,7 +499,7 @@ void client_add_extra_capability(struct client *client, const char *capability,
 {
        struct client_extra_capability cap;
 
-       /* Don't add capabilties handled by lib-smtp here */
+       /* Don't add capabilities handled by lib-smtp here */
        i_assert(smtp_capability_find_by_name(capability)
                 == SMTP_CAPABILITY_NONE);