1) Removed xdr_bytesrec typedef which has no consumers. If we re-add
it should also probably be xdr_bytesrec_t.
size_t xc_num_avail;
};
-typedef struct xdr_bytesrec xdr_bytesrec;
-
/*
* XDR functions.
*/
if (xdrs->x_addr > xdrs->x_addr_end)
return FALSE;
- if (xdrs->x_addr_end - xdrs->x_addr > size)
+ if (xdrs->x_addr_end - xdrs->x_addr < size)
return FALSE;
memcpy(xdrs->x_addr, cp, cnt);
if (xdrs->x_addr > xdrs->x_addr_end)
return FALSE;
- if (xdrs->x_addr_end - xdrs->x_addr > size)
+ if (xdrs->x_addr_end - xdrs->x_addr < size)
return FALSE;
memcpy(cp, xdrs->x_addr, cnt);