a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/rudp.c src/lib/rudp.c index 23d75b3..4904b91 100644 --- src/lib/rudp.c +++ src/lib/rudp.c @@ -47,31 +47,30 @@ * section in volume I, chapter 20, section 5, of _UNIX Network Programming_ * by W. Richard Stevens. */ #include "common.h" #include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> #include <pthread.h> #include "errabort.h" #include "hash.h" #include "dlist.h" #include "obscure.h" #include "rudp.h" -static char const rcsid[] = "$Id: rudp.c,v 1.24 2010/01/07 19:53:45 angie Exp $"; #define MAX_TIME_OUT 999999 static int rudpCalcTimeOut(struct rudp *ru) /* Return calculation of time out based on current data. */ { int timeOut = ru->rttAve + (ru->rttVary<<2); if (timeOut > MAX_TIME_OUT) timeOut = MAX_TIME_OUT; /* No more than a second. */ if (timeOut < 10000) timeOut = 10000; /* No less than 1/100th second */ return timeOut; } static void rudpAddRoundTripTime(struct rudp *ru, int time) /* Add info about round trip time and based on this recalculate * time outs. */