summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-10 06:15:46 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-10 06:15:46 +0000
commita308353600a525ffda88d85f91cf3d307dd83ee0 (patch)
tree8e149050806dc8478e8409607cf6beee2faddaca
parentc185825585e6f65bff7b8dca6747e922a33fab2c (diff)
downloadtor-a308353600a525ffda88d85f91cf3d307dd83ee0.tar.gz
tor-a308353600a525ffda88d85f91cf3d307dd83ee0.zip
Fix const-ness warning
svn:r3733
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 6b5c9bd1cb..257203dcd1 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -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);