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

Harmless improvements #61

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

afcady
Copy link

@afcady afcady commented Aug 20, 2020

More of my various small changes, mostly incidental to reading the code. ab4fa64 implements something you mentioned left to do in a comment (use tox_callback_friend_connection_status instead of polling).

Andrew Cady added 15 commits August 19, 2020 01:29
This produced a nonsensical warning in client mode.

It is also redundant as there is this line:

log_printf(L_INFO, "Server in ToxID whitelisting mode - only clients listed with -i can connect");
The client and server blocks were nearly identical.  Now they share code.

Both client and server now call memset() on tox_printable_id.

The distinct client message "Generated Tox ID: %s\n" was not preserved;
both client and server will say "Using Tox ID: %s\n" which is more
accurate (Tox ID might be persistent with -C).
@sonarcloud
Copy link

sonarcloud bot commented Aug 20, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@afcady afcady mentioned this pull request Aug 21, 2020
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.

1 participant