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.32 by gwlarson, Wed Aug 26 13:06:09 1998 UTC vs.
Revision 3.33 by gwlarson, Tue Oct 6 18:09:49 1998 UTC

# Line 457 | Line 457 | char   *p;
457   {
458          MSGHEAD msg;
459          int     m;
460 +                                /* consistency checks */
461 + #ifdef DEBUG
462 +        if (nbytes < 0 || nbytes > 0 & p == NULL)
463 +                error(CONSISTENCY, "bad buffer handed to serv_request");
464 + #endif
465                                  /* get server's attention for big request */
466          if (nbytes >= BIGREQSIZ-sizeof(MSGHEAD)) {
467                  serv_request(DR_ATTEN, 0, NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines