Browse Source

Fix const-ness warning

svn:r3733
Nick Mathewson 20 years ago
parent
commit
a308353600
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/control.c

+ 1 - 1
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);