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

Reading correctly the buffer from command response. #1

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

Conversation

serk7
Copy link

@serk7 serk7 commented Nov 21, 2020

Avoiding read error id=0 msg=ok from previous command, also checking if connects successfull or not.

Previously:

Sent: clientlist
error id=0 msg=ok <--?¿ wrong
clid=63 cid=22 client_database_id=3 client_nickname=Bubexel client_type=0
error id=0 msg=ok

After:

Sent: clientlist
clid=63 cid=22 client_database_id=3 client_nickname=Bubexel client_type=0
error id=0 msg=ok

…or id=0 msg=ok from previous command, also checking if connects successfull or not
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