MCPcopy Create free account
hub / github.com/antirez/ds4 / dist_send_work_error

Function dist_send_work_error

ds4_distributed.c:5894–5899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5892 if (dist_write_full(fd, &wire, sizeof(wire)) != 0) return -1;
5893 for (uint32_t i = 0; i < telemetry_count; i++) {
5894 ds4_dist_telemetry_fixed tw = telemetry[i];
5895 dist_telemetry_to_wire(&tw);
5896 if (dist_write_full(fd, &tw, sizeof(tw)) != 0) return -1;
5897 }
5898 if (status == 0 && result_kind == DS4_DIST_RESULT_HIDDEN_STATE && wire_payload_bytes != 0) {
5899 if (dist_write_activation_payload(fd, payload, hidden_values, payload_bits) != 0) return -1;
5900 } else if (payload_bytes && payload && dist_write_full(fd, payload, payload_bytes) != 0) {
5901 return -1;
5902 }

Callers 1

Calls 1

dist_send_work_resultFunction · 0.85

Tested by

no test coverage detected