mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Fix const-ness warning
svn:r3733
This commit is contained in:
parent
c185825585
commit
a308353600
@ -485,7 +485,7 @@ handle_control_mapaddress(connection_t *conn, uint32_t len, const char *body)
|
|||||||
reply = smartlist_create();
|
reply = smartlist_create();
|
||||||
smartlist_split_string(lines, body, "\n",
|
smartlist_split_string(lines, body, "\n",
|
||||||
SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
|
SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
|
||||||
SMARTLIST_FOREACH(lines, const char *, line,
|
SMARTLIST_FOREACH(lines, char *, line,
|
||||||
{
|
{
|
||||||
tor_strlower(line);
|
tor_strlower(line);
|
||||||
smartlist_split_string(elts, line, " ", 0, 2);
|
smartlist_split_string(elts, line, " ", 0, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user