aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-15 13:38:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-15 13:38:36 +0100
commite7f426799b8187b95ae0c7cb4b00338e1029da04 (patch)
treec896d768a5721f9669a394b8cfb70417a94c8a43 /src/controller.c
parent0439335b9829f64060fc4fa97639e9f6fd6d3b89 (diff)
downloadrspamd-e7f426799b8187b95ae0c7cb4b00338e1029da04.tar.gz
rspamd-e7f426799b8187b95ae0c7cb4b00338e1029da04.zip
Fix misprint.
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c
index dded55ba3..11ead024f 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -680,7 +680,7 @@ rspamd_controller_handle_get_map (struct rspamd_http_connection_entry *conn_ent,
}
id = strtoul (idstr->str, &errstr, 10);
- if (*errstr != '\0' && !g_acsii_isspace (*errstr)) {
+ if (*errstr != '\0' && !g_ascii_isspace (*errstr)) {
msg_info ("invalid map id");
rspamd_controller_send_error (conn_ent, 400, "400 invalid map id");
return 0;
@@ -1370,7 +1370,7 @@ rspamd_controller_handle_savemap (struct rspamd_http_connection_entry *conn_ent,
}
id = strtoul (idstr->str, &errstr, 10);
- if (*errstr != '\0' && g_acsii_isspace (*errstr)) {
+ if (*errstr != '\0' && g_ascii_isspace (*errstr)) {
msg_info ("invalid map id");
rspamd_controller_send_error (conn_ent, 400, "Map id is invalid");
return 0;