[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] ha ha, thought the bugs were done
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
directory.c
Log Message:
ha ha, thought the bugs were done
don't stop writing the compressed directory just because you found a nul
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/src/or/directory.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- directory.c 28 Sep 2004 03:30:28 -0000 1.133
+++ directory.c 29 Sep 2004 05:48:25 -0000 1.134
@@ -622,7 +622,7 @@
(int)dlen,
deflated?"deflate":"identity");
connection_write_to_buf(tmp, strlen(tmp), conn);
- connection_write_to_buf(cp, strlen(cp), conn);
+ connection_write_to_buf(cp, dlen, conn);
return 0;
}