From d07ec7c3de24c650a4b1fec8aa2b18119a2b4388 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 10 Aug 2012 16:05:38 +0400 Subject: Fix spelling. Submitted by: Laszlo Boszormenyi. --- src/dkim.c | 2 +- src/lua/lua_redis.c | 2 +- src/main.c | 4 ++-- src/plugins/lua/ip_score.lua | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 -- cgit v1.2.3