6e5ee11ca95cd971984038cf65bae00d9c898707 galt Wed Jun 4 15:40:02 2014 -0700 Since we have git, it is easy to rename errabort.c to errAbort.c without losing any history. diff --git src/lib/rudp.c src/lib/rudp.c index 1319d7d..2ada0cf 100644 --- src/lib/rudp.c +++ src/lib/rudp.c @@ -44,31 +44,31 @@ * echo lets the sender know if it needs to resend the message, and * lets it know how long a message takes to get to the destination and * back. It uses this round trip time information to figure out how * long to wait between resends. * * Much of this code is based on the 'Adding Reliability to a UDP Application * 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 "errAbort.h" #include "hash.h" #include "dlist.h" #include "obscure.h" #include "rudp.h" #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;