.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 --- "/.
return TRUE;
}
- /* Handle initial respose */
+ /* Handle initial response */
if (initial_resp == NULL) {
/* No initial response */
request->initial_response = NULL;
/* 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)
{
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;
}
- 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:
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;
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 */
};
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;
};
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);
static struct io *io_listen;
static struct client *clients;
-/* location: /succes */
+/* location: /success */
static void client_handle_success_request(struct client_request *creq)
{
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)
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);
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;
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)) {
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)
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;
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))
{
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))
{
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 */
{
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;
};
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. */
}
/*
- * Data timout
+ * Data timeout
*/
/* server */
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,
/* 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) \
{
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);
}
}
X509_free(x509);
-
+
return *name == '\0' ? NULL : name;
}
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).
*/
} 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);
}
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.
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,
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;
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;
}