[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] ha ha, that infinite loop was fun.



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c 
Log Message:
ha ha, that infinite loop was fun.
but dirservers aren't supposed to have infinite loops.


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -d -r1.245 -r1.246
--- directory.c	24 Aug 2005 02:31:01 -0000	1.245
+++ directory.c	24 Aug 2005 12:14:44 -0000	1.246
@@ -527,7 +527,7 @@
       else
         return tor_strdup(cp);
     }
-    cp = strchr(headers, '\n');
+    cp = strchr(cp, '\n');
     if (cp)
       ++cp;
   }