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

Fixed handle_call response in simplesrv.erl #174

Closed
wants to merge 1 commit into from

Conversation

vuleetu
Copy link

@vuleetu vuleetu commented Jan 16, 2012

Fixed handle_call response in simplesrv.erl,

It was {noreply, ok, State}

It should be {reply, ok. State}

@ghost
Copy link

ghost commented Feb 1, 2012

Both are valid responses, but immediately replying seems to be the
most common approach. @dizzyd, @joewilliams?

@joewilliams
Copy link
Contributor

I dont have a strong opinion either way. {reply, ok, State} certainly seems more idiomatic.

@ghost
Copy link

ghost commented Feb 2, 2012

Thanks, merged. Next time please use a topic branch.

@ghost ghost closed this Feb 2, 2012
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants