Skip to content

connection: properly use sendmsg(2) and recvmsg(2)

Demi Marie Obenour requested to merge DemiMarie/wayland:fix-cmsg into main
  • Properly align cmsg as per man:cmsg(3).
  • Use ssize_t to hold the return value of sendmsg(2) and recvmsg(2).
  • Avoid casting the return value of CMSG_DATA as per man:cmsg(3).

Signed-off-by: Demi Marie Obenour demi@invisiblethingslab.com

Merge request reports

Loading