src/lib/rudp.c 1.24
1.24 2010/01/07 19:53:45 angie
Fixed comparison edge condition (not a huge problem, it just set tv_{sec,usec} to {0,1000000} not {1,0}). Thx Galt for pointing out that the net.c code was dupl'd from this.
Index: src/lib/rudp.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/rudp.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -B -U 4 -r1.23 -r1.24
--- src/lib/rudp.c 23 Jun 2008 21:47:55 -0000 1.23
+++ src/lib/rudp.c 7 Jan 2010 19:53:45 -0000 1.24
@@ -237,9 +237,9 @@
int readyCount;
for (;;)
{
- if (microseconds > 1000000)
+ if (microseconds >= 1000000)
{
tv.tv_sec = microseconds/1000000;
tv.tv_usec = microseconds%1000000;
}