I added this, IIRC, to avoid a panic in the timer code on
'masqueraded' venus machines. Should this be in the real sources, or
has this been fixed some other way?
cvs server: Diffing .
Index: sftp1.c
===================================================================
RCS file: /coda-src/rpc2/rpc2-src/sftp1.c,v
retrieving revision 4.40
diff -u -r4.40 sftp1.c
--- sftp1.c 2001/02/15 17:31:37 4.40
+++ sftp1.c 2001/02/25 17:02:50
@@ -935,6 +935,12 @@
struct TM_Elem *t;
long mytime;
+ if ( sftp_Chain == NULL ) {
+ printf("AddTimerEntry: null chain\n");
+ return;
+ }
+
+
mytime = whichElem->TotalTime.tv_sec*1000000 +
whichElem->TotalTime.tv_usec
;
t = TM_GetEarliest(sftp_Chain);
if (t == NULL || (t->TimeLeft.tv_sec*1000000 +
t->TimeLeft.tv_usec) > mytim
e)