From: Nick Mathewson Date: Thu, 10 Mar 2005 06:15:46 +0000 (+0000) Subject: Fix const-ness warning X-Git-Tag: tor-0.1.0.1-rc~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a308353600a525ffda88d85f91cf3d307dd83ee0;p=thirdparty%2Ftor.git Fix const-ness warning svn:r3733 --- 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);