[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[or-cvs] fixed a critical bug in yesterday"s changes to buffers.c



Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/home/arma/work/onion/cvs/src/or

Modified Files:
	buffers.c 
Log Message:
fixed a critical bug in yesterday's changes to buffers.c
(starting to debug my OP integration)


Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/buffers.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- buffers.c	30 Jun 2002 07:37:48 -0000	1.2
+++ buffers.c	2 Jul 2002 06:02:15 -0000	1.3
@@ -64,7 +64,7 @@
 
   /* this is the point where you would grow the buffer, if you want to */
 
-  write_result = write(s, buf, *buf_datalen);
+  write_result = write(s, *buf, *buf_datalen);
   if (write_result < 0) {
     if(errno!=EAGAIN) { /* it's a real error */
       return -1;