Ignoring return from function.  As noted elsewhere, it makes no sense to be passing sendbuffer into this function; it would make more sense for the caller to populate the buffer based on the bool return.