diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-08-10 16:05:38 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-08-10 16:05:38 +0400 |
commit | d07ec7c3de24c650a4b1fec8aa2b18119a2b4388 (patch) | |
tree | 5e9f17d18a6332d669ee82913f96f39d8556bc14 /src | |
parent | d8ea3f8e6b1526a9b1861ff185803e933e19f53f (diff) | |
download | rspamd-d07ec7c3de24c650a4b1fec8aa2b18119a2b4388.tar.gz rspamd-d07ec7c3de24c650a4b1fec8aa2b18119a2b4388.zip |
Fix spelling. Submitted by: Laszlo Boszormenyi.
Diffstat (limited to 'src')
-rw-r--r-- | src/dkim.c | 2 | ||||
-rw-r--r-- | src/lua/lua_redis.c | 2 | ||||
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/plugins/lua/ip_score.lua | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/dkim.c b/src/dkim.c index 92359fc0b..cc45f28a3 100644 --- a/src/dkim.c +++ b/src/dkim.c @@ -475,7 +475,7 @@ rspamd_create_dkim_context (const gchar *sig, memory_pool_t *pool, guint time_ji } break; default: - g_set_error (err, DKIM_ERROR, DKIM_SIGERROR_UNKNOWN, "invalid dkim param lenght: %zd", taglen); + g_set_error (err, DKIM_ERROR, DKIM_SIGERROR_UNKNOWN, "invalid dkim param length: %zd", taglen); state = DKIM_STATE_ERROR; break; } diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index 0c1934345..2e6211078 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -343,7 +343,7 @@ lua_redis_make_request (lua_State *L) } } else { - msg_info ("function requred as 4-th argument"); + msg_info ("function required as 4-th argument"); lua_pushboolean (L, FALSE); } } diff --git a/src/main.c b/src/main.c index e13d387fc..84bc63b55 100644 --- a/src/main.c +++ b/src/main.c @@ -1074,14 +1074,14 @@ main (gint argc, gchar **argv, gchar **env) #endif if (do_terminate) { do_terminate = 0; - msg_info ("catch termination signal, waiting for childs"); + msg_info ("catch termination signal, waiting for children"); pass_signal_worker (rspamd_main->workers, SIGTERM); break; } if (child_dead) { child_dead = 0; msg_debug ("catch SIGCHLD signal, finding terminated worker"); - /* Remove dead child form childs list */ + /* Remove dead child form children list */ wrk = waitpid (0, &res, 0); if ((cur = g_hash_table_lookup (rspamd_main->workers, GSIZE_TO_POINTER (wrk))) != NULL) { /* Unlink dead process from queue and hash table */ diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua index 4c822c8c7..374714bc5 100644 --- a/src/plugins/lua/ip_score.lua +++ b/src/plugins/lua/ip_score.lua @@ -171,5 +171,5 @@ if rspamd_config:get_api_version() >= 9 then rspamd_config:register_post_filter(ip_score_set) end else - rspamd_logger.err('cannot register module ip_score as it requres at least 9 version of lua API and rspamd >= 0.4.6') + rspamd_logger.err('cannot register module ip_score as it requires at least 9 version of lua API and rspamd >= 0.4.6') end |