Fix const-ness warning

svn:r3733
This commit is contained in:
Nick Mathewson 2005-03-10 06:15:46 +00:00
parent c185825585
commit a308353600

View File

@ -485,7 +485,7 @@ handle_control_mapaddress(connection_t *conn, uint32_t len, const char *body)
reply = smartlist_create();
smartlist_split_string(lines, body, "\n",
SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
SMARTLIST_FOREACH(lines, const char *, line,
SMARTLIST_FOREACH(lines, char *, line,
{
tor_strlower(line);
smartlist_split_string(elts, line, " ", 0, 2);