]> source.dussan.org Git - rspamd.git/commitdiff
Fix spelling. Submitted by: Laszlo Boszormenyi.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 10 Aug 2012 12:05:38 +0000 (16:05 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 10 Aug 2012 12:05:38 +0000 (16:05 +0400)
src/dkim.c
src/lua/lua_redis.c
src/main.c
src/plugins/lua/ip_score.lua

index 92359fc0b748b8ecb182ee266cff1b0d12896b3d..cc45f28a30136b3da118303874e23d6994fbe2ac 100644 (file)
@@ -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;
                        }
index 0c1934345d5c7b006367f47a146843bb7b131c7a..2e621107872921805817a51e20234e2efbd89b5c 100644 (file)
@@ -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);
                }
        }
index e13d387fc51e23a872deda43aa0d68e65a462ea1..84bc63b554b85574321369e84690800c97f12874 100644 (file)
@@ -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 */
index 4c822c8c7b01a14043566831fcf83968fcd2fcbe..374714bc596045780c9b012126b058172deaa1ed 100644 (file)
@@ -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