aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/cfg_file.h2
-rw-r--r--src/libserver/cfg_rcl.h2
-rw-r--r--src/libserver/html_tags.h2
-rw-r--r--src/libserver/spf.c2
-rw-r--r--src/libserver/symbols_cache.h2
-rw-r--r--src/libserver/task.h4
6 files changed, 7 insertions, 7 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 3c5fe93fb..e48eb6db0 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -189,7 +189,7 @@ struct rspamd_worker_conf {
GQuark type; /**< type of worker */
struct rspamd_worker_bind_conf *bind_conf; /**< bind configuration */
guint16 count; /**< number of workers */
- GList *listen_socks; /**< listening sockets desctiptors */
+ GList *listen_socks; /**< listening sockets descriptors */
guint32 rlimit_nofile; /**< max files limit */
guint32 rlimit_maxcore; /**< maximum core file size */
GHashTable *params; /**< params for worker */
diff --git a/src/libserver/cfg_rcl.h b/src/libserver/cfg_rcl.h
index d1ec26b2b..e115fda97 100644
--- a/src/libserver/cfg_rcl.h
+++ b/src/libserver/cfg_rcl.h
@@ -408,7 +408,7 @@ ucl_object_t *rspamd_rcl_add_doc_obj (ucl_object_t *doc_target,
/**
* Adds new documentation option specified by path `doc_path` that should be
- * splitted by dots
+ * split by dots
*/
ucl_object_t *rspamd_rcl_add_doc_by_path (struct rspamd_config *cfg,
const gchar *doc_path,
diff --git a/src/libserver/html_tags.h b/src/libserver/html_tags.h
index 8809975e3..c865fa21a 100644
--- a/src/libserver/html_tags.h
+++ b/src/libserver/html_tags.h
@@ -188,7 +188,7 @@ typedef enum
#define CM_NO_INDENT (1 << 18)
/* Elements that are obsolete (such as "dir", "menu"). */
#define CM_OBSOLETE (1 << 19)
-/* User defined elements. Used to determine how attributes wihout value
+/* User defined elements. Used to determine how attributes without value
should be printed. */
#define CM_NEW (1 << 20)
/* Elements that cannot be omitted. */
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index 13877ed31..32ee6c453 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -1811,7 +1811,7 @@ parse_spf_scopes (struct spf_record *rec, gchar **begin)
}
else if (g_ascii_strncasecmp (*begin, SPF_SCOPE_MFROM,
sizeof (SPF_SCOPE_MFROM) - 1) == 0) {
- /* mfrom is standart spf1 check */
+ /* mfrom is standard spf1 check */
*begin += sizeof (SPF_SCOPE_MFROM) - 1;
continue;
}
diff --git a/src/libserver/symbols_cache.h b/src/libserver/symbols_cache.h
index b71c6e9b9..dedcda4e6 100644
--- a/src/libserver/symbols_cache.h
+++ b/src/libserver/symbols_cache.h
@@ -169,7 +169,7 @@ gboolean rspamd_symbols_cache_process_symbols (struct rspamd_task *task,
struct symbols_cache *cache, gint stage);
/**
- * Validate cache items agains theirs weights defined in metrics
+ * Validate cache items against theirs weights defined in metrics
* @param cache symbols cache
* @param cfg configuration
* @param strict do strict checks - symbols MUST be described in metrics
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 16e40aad1..1efa45309 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -183,7 +183,7 @@ struct rspamd_task {
double time_virtual_finish;
struct timeval tv;
gboolean (*fin_callback)(struct rspamd_task *task, void *arg);
- /**< calback for filters finalizing */
+ /**< callback for filters finalizing */
void *fin_arg; /**< argument for fin callback */
struct rspamd_dns_resolver *resolver; /**< DNS resolver */
@@ -252,7 +252,7 @@ gboolean rspamd_task_process (struct rspamd_task *task, guint stages);
struct rspamd_email_address* rspamd_task_get_sender (struct rspamd_task *task);
/**
- * Return addresses in the following precendence:
+ * Return addresses in the following precedence:
* - deliver to
* - the first smtp recipient
* - the first mime recipient