Skip to content

Commit

Permalink
need to update code too
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanou committed Oct 12, 2024
1 parent 4f17c89 commit 85367b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generated/nixnetsocket/nixnetsocket_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ namespace nixnetsocket_grpc {

std::string data(size, '\0');
auto from_addr = allocate_output_storage<nxsockaddr, SockAddr>();
nxsocklen_t fromlen {};
auto fromlen = static_cast<nxsocklen_t>(sizeof(from_addr.storage));
auto status = library_->RecvFrom(socket, (char*)data.data(), size, flags, &from_addr, &fromlen);
if (!status_ok(status)) {
return ConvertApiErrorStatusForNxSOCKET(context, status, socket);
Expand Down

0 comments on commit 85367b7

Please sign in to comment.