ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdisp.c
(Generate patch)

Comparing ray/src/hd/rhdisp.c (file contents):
Revision 3.34 by gwlarson, Thu Nov 5 14:27:02 1998 UTC vs.
Revision 3.35 by gwlarson, Wed Nov 11 16:58:51 1998 UTC

# Line 422 | Line 422 | serv_result()                  /* get next server result and process
422          case DS_STARTIMM:
423          case DS_ENDIMM:
424   #ifdef DEBUG
425 <                if (imm_mode != (msg.type==DS_STARTIMM)) {
425 >                {
426                          time_t  tnow = time(NULL);
427 <                        if (imm_mode) timm += tnow - tmodesw;
428 <                        else tadd += tnow - tmodesw;
427 >                        if (msg.type==DS_STARTIMM) tadd += tnow - tmodesw;
428 >                        else timm += tnow - tmodesw;
429                          tmodesw = tnow;
430                  }
431   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines