r9389 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9388‎ | r9389 | r9390 >
Date:00:43, 11 June 2005
Author:kateturner
Status:old
Tags:
Comment:
don't break on platforms that work correctly...
Modified paths:
  • /trunk/willow/src/lib/wnet/wnet.c (modified) (history)

Diff [purge]

Index: trunk/willow/src/lib/wnet/wnet.c
@@ -371,7 +371,7 @@
372372 * number of bytes is returned, but off is _not_ updated. So, we fudge it into working as we
373373 * expect.
374374 */
375 - if (i > 0)
 375+ if (i > 0 && buf->wb_off == origoff)
376376 buf->wb_off += i;
377377 #endif
378378

Status & tagging log