| # | 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); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |