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 agent.c for socket initialisation #505

Merged
merged 2 commits into from
Apr 16, 2019

Conversation

waterkip
Copy link
Contributor

I was debugging something and say that some code got duplicated. I made a small change to move the logic into one function so it can be re-used. The goal is to create a struct/class that deals with the agent socket logic so we don't need to have path, fd, etc in multiple functions. But I haven't had the time to implement that. But this is a first iteration of that rewrite.

@GPaulovics GPaulovics merged commit d318aac into lastpass:master Apr 16, 2019
@GPaulovics
Copy link
Contributor

Thank you @waterkip

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.

2 participants