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

[or-cvs] r9106: fix last fix (in tor/trunk: . src/or)



Author: nickm
Date: 2006-12-13 18:00:05 -0500 (Wed, 13 Dec 2006)
New Revision: 9106

Modified:
   tor/trunk/
   tor/trunk/src/or/buffers.c
Log:
 r11569@Kushana:  nickm | 2006-12-13 17:59:58 -0500
 fix last fix



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11569] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/buffers.c
===================================================================
--- tor/trunk/src/or/buffers.c	2006-12-13 22:46:42 UTC (rev 9105)
+++ tor/trunk/src/or/buffers.c	2006-12-13 23:00:05 UTC (rev 9106)
@@ -661,7 +661,7 @@
   size_t forced;
 
   forced = tor_tls_get_forced_write_size(tls);
-  if (forced < sz)
+  if (forced > sz)
     sz = forced;
   r = tor_tls_write(tls, buf->cur, sz);
   if (r < 0) {