Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in code direct/reliable.rst #78

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

charlesreiss
Copy link
Contributor

Fix what seem to be typos in the code snippets in direct/reliable.rst:

  • declare hbuf in sendSWP as a char array (matching hbuf in deliverSWP) instead of untyped;
  • declare state in deliverSWP's parameters as a pointer (matching its usage with -> in deliverSWP);
  • use hdr.Flags instead of hdr->Flags in deliverSWP (matching hdr not being a pointer)

*  declare `hbuf` in sendSWP as a char array (matching `hbuf` in deliverSWP) instead of untyped array;
*  declare `state` in deliverSWP's parameters as a pointer (matching its usage with -> in deliverSWP);
*  use `hdr.Flags` instead of `hdr->Flags` in deliverSWP (matching `hdr` not being a pointer)
@CLAassistant
Copy link

CLAassistant commented Jun 15, 2024

CLA assistant check
All committers have signed the CLA.

@llpeterson llpeterson merged commit e3cbccd into SystemsApproach:master Jun 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants