* length_found and continue as if the file server said
* it was sending us zero octets of data.
*/
- if (fs_fetchdata_offset_bug && first_read)
+ if (fs_fetchdata_offset_bug && first_read) {
length_found = 0;
- else
+ break;
+ } else if (temp <= 0) {
code = (rx_Error(rxcallp) < 0) ? rx_Error(rxcallp) : RX_PROTOCOL_ERROR;
- break;
+ break;
+ }
}
iov = 0;
* length_found and continue as if the file server said
* it was sending us zero octets of data.
*/
- if (fs_fetchdata_offset_bug && first_read)
+ if (fs_fetchdata_offset_bug && first_read) {
length_found = 0;
- else
+ break;
+ } else if (temp <= 0) {
code = (rx_Error(rxcallp) < 0) ? rx_Error(rxcallp) : RX_PROTOCOL_ERROR;
- break;
+ break;
+ }
}
first_read = 0;
* length_found and continue as if the file server said
* it was sending us zero octets of data.
*/
- if (fs_fetchdata_offset_bug && first_read)
+ if (fs_fetchdata_offset_bug && first_read) {
length_found = 0;
- else
+ break;
+ } else if (temp <= 0) {
code = (rx_Error(rxcallp) < 0) ? rx_Error(rxcallp) : RX_PROTOCOL_ERROR;
- break;
+ break;
+ }
}
iov = 0;
* length_found and continue as if the file server said
* it was sending us zero octets of data.
*/
- if (fs_fetchdata_offset_bug && first_read)
+ if (fs_fetchdata_offset_bug && first_read) {
length_found = 0;
- else
+ break;
+ } else if (temp <= 0) {
code = (rx_Error(rxcallp) < 0) ? rx_Error(rxcallp) : RX_PROTOCOL_ERROR;
- break;
+ break;
+ }
}
first_read = 0;
* length_found and continue as if the file server said
* it was sending us zero octets of data.
*/
- if (fs_fetchdata_offset_bug && first_read)
+ if (fs_fetchdata_offset_bug && first_read) {
length_found = 0;
- else
+ break;
+ } else if (temp <= 0) {
code = (rx_Error(rxcallp) < 0) ? rx_Error(rxcallp) : RX_PROTOCOL_ERROR;
- break;
+ break;
+ }
}
first_read = 0;