]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix const-ness warning
authorNick Mathewson <nickm@torproject.org>
Thu, 10 Mar 2005 06:15:46 +0000 (06:15 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 10 Mar 2005 06:15:46 +0000 (06:15 +0000)
svn:r3733

src/or/control.c

index 6b5c9bd1cba7299bd90edb2342e58e510b28cf17..257203dcd1e7f7941af0bf5367576c5277d154d6 100644 (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);