[or-cvs] Fix a fun bug in read_all that was corrupting config files ...
Nick Mathewson
nickm at seul.org
Tue Nov 16 00:08:58 UTC 2004
Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv22010/src/common
Modified Files:
util.c
Log Message:
Fix a fun bug in read_all that was corrupting config files on windows, and probably doing other bad stuff too.
Index: util.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- util.c 12 Nov 2004 21:14:51 -0000 1.180
+++ util.c 16 Nov 2004 00:08:56 -0000 1.181
@@ -693,7 +693,7 @@
break;
numread += result;
}
- return count;
+ return numread;
}
/*
More information about the tor-commits
mailing list