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

refactor: Move pack/unpack IP_Port from DHT into network module. #2612

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Jan 30, 2024

It's misplaced in DHT, since the data structures are located in network.


This change is Reviewable

@iphydf iphydf added this to the v0.2.19 milestone Jan 30, 2024
@iphydf iphydf marked this pull request as ready for review January 30, 2024 10:32
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (a975943) 73.64% compared to head (1710a0d) 73.61%.

Files Patch % Lines
toxcore/network.c 95.89% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2612      +/-   ##
==========================================
- Coverage   73.64%   73.61%   -0.03%     
==========================================
  Files         148      148              
  Lines       30407    30407              
==========================================
- Hits        22392    22385       -7     
- Misses       8015     8022       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

It's misplaced in DHT, since the data structures are located in network.
Copy link
Member

@nurupo nurupo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@iphydf
Copy link
Member Author

iphydf commented Jan 30, 2024

TokTok/hs-tokstyle#248 is needed for this PR, which triggered a bug in the cimple type checking algorithm.

@iphydf iphydf merged commit 1710a0d into TokTok:master Jan 30, 2024
57 of 58 checks passed
@iphydf iphydf deleted the pack-unpack-ip branch January 30, 2024 17:22
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.

3 participants