From: Vsevolod Stakhov Date: Fri, 15 May 2015 12:38:36 +0000 (+0100) Subject: Fix misprint. X-Git-Tag: 0.9.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7f426799b8187b95ae0c7cb4b00338e1029da04;p=thirdparty%2Frspamd.git Fix misprint. --- diff --git a/src/controller.c b/src/controller.c index dded55ba39..11ead024fe 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;