[or-cvs] Fix const-ness warning

Nick Mathewson nickm at seul.org
Thu Mar 10 06:15:49 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv26694/src/or

Modified Files:
	control.c 
Log Message:
Fix const-ness warning

Index: control.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- control.c	3 Mar 2005 06:37:54 -0000	1.52
+++ control.c	10 Mar 2005 06:15:46 -0000	1.53
@@ -485,7 +485,7 @@
   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);



More information about the tor-commits mailing list