Skip to content

Commit

Permalink
lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Dec 17, 2024
1 parent 8503aeb commit c5b9de9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions msgq/visionipc/visionipc_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ bool VisionIpcClient::connect(bool blocking){
int fds[VISIONIPC_MAX_FDS];
VisionBuf bufs[VISIONIPC_MAX_FDS];
r = ipc_sendrecv_with_fds(false, socket_fd, &bufs, sizeof(bufs), fds, VISIONIPC_MAX_FDS, &num_buffers);

if (r < 0) {
// only expected error is server shutting down
assert(errno == ECONNRESET);
Expand Down Expand Up @@ -129,7 +128,6 @@ std::set<VisionStreamType> VisionIpcClient::getAvailableStreams(const std::strin

VisionStreamType available_streams[VISION_STREAM_MAX] = {};
r = ipc_sendrecv_with_fds(false, socket_fd, &available_streams, sizeof(available_streams), nullptr, 0, nullptr);

if (r < 0) {
// only expected error is server shutting down
assert(errno == ECONNRESET);
Expand Down

0 comments on commit c5b9de9

Please sign in to comment.