diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2022-02-22 17:01:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 22:01:28 +0000 |
commit | 2b8e6958f40ef36c1508118ac36a43694283a83c (patch) | |
tree | fa9a9b6843546bdb297b00bc78b83ab4c318f724 /src/lua/lua_xmlrpc.c | |
parent | 85faeb34719e2b0898d319b02416f669d70f4562 (diff) | |
download | rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip |
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'src/lua/lua_xmlrpc.c')
-rw-r--r-- | src/lua/lua_xmlrpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/lua_xmlrpc.c b/src/lua/lua_xmlrpc.c index d4aa87888..67f4dcfbc 100644 --- a/src/lua/lua_xmlrpc.c +++ b/src/lua/lua_xmlrpc.c @@ -34,7 +34,7 @@ static const struct luaL_reg xmlrpclib_m[] = { INIT_LOG_MODULE(xmlrpc) enum lua_xmlrpc_state { - read_method_responce = 0, + read_method_response = 0, read_params = 1, read_param = 2, read_param_value = 3, @@ -115,7 +115,7 @@ xmlrpc_start_element (GMarkupParseContext *context, msg_debug_xmlrpc ("got start element %s on state %d", name, last_state); switch (ud->parser_state) { - case read_method_responce: + case read_method_response: /* Expect tag methodResponse */ if (g_ascii_strcasecmp (name, "methodResponse") == 0) { ud->parser_state = read_params; @@ -342,7 +342,7 @@ xmlrpc_end_element (GMarkupParseContext *context, msg_debug_xmlrpc ("got end element %s on state %d", name, last_state); switch (ud->parser_state) { - case read_method_responce: + case read_method_response: ud->parser_state = error_state; break; case read_params: @@ -615,7 +615,7 @@ lua_xmlrpc_parse_reply (lua_State *L) if (data != NULL) { ud.L = L; - ud.parser_state = read_method_responce; + ud.parser_state = read_method_response; ud.param_count = 0; ud.st = g_queue_new (); |