Просмотр исходного кода

Fix const-ness warning

svn:r3733
Nick Mathewson 20 лет назад
Родитель
Сommit
a308353600
1 измененных файлов с 1 добавлено и 1 удалено
  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);