ggated: Fehlerhafte Fehlerprüfung static void * recv_thread(void *arg) { [...] /* * Receive data to write for WRITE request. */ if (req->r_cmd == GGATE_CMD_WRITE) { [...] data = g_gate_recv(fd, req->r_data, req->r_length, MSG_WAITALL); if (data == -1) { g_gate_xlog("Error while receiving data: %s.", strerror(errno)); } } /* * Put the request onto the incoming queue. */ [...]