Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efa0a1ff authored by En-Shuo Hsu's avatar En-Shuo Hsu Committed by Gerrit Code Review
Browse files

Merge "Fix the return value of UIPC_Send"

parents b83dd9a5 ea9fc3eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -588,9 +588,10 @@ bool UIPC_Send(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id,
  OSI_NO_INTR(ret = write(uipc.ch[ch_id].fd, p_buf, msglen));
  if (ret < 0) {
    LOG_ERROR("failed to write (%s)", strerror(errno));
    return false;
  }

  return false;
  return true;
}

/*******************************************************************************