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

Fix stream management #68

Merged
merged 5 commits into from
Aug 7, 2015
Merged

Fix stream management #68

merged 5 commits into from
Aug 7, 2015

Conversation

tomekowal
Copy link

No description provided.

sm_state = {true, 0, active},
event_client = self()},
SecondState = escalus_tcp:forward_to_owner(FirstStanzas, State),
#state{sm_state = SMState} = escalus_tcp:forward_to_owner(SecondStanzas, SecondState),
Copy link

Choose a reason for hiding this comment

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

According to Elvis:

Line 23 is too long: #state{sm_state = SMState} = escalus_tcp:forward_to_owner(SecondStanzas, SecondState),.

@michalwski
Copy link
Contributor

Does this PR address #67?

@tomekowal
Copy link
Author

No, it doesn't. These are two separate problems. This fixes only counting stanzas. After it is merged. It will be easy to fix the predicate.

@@ -303,8 +297,8 @@ forward_to_owner(Stanzas0, #state{owner = Owner,
sm_state = SM0,
event_client = EventClient} = State) ->
{SM1, AckRequests,StanzasNoRs} = separate_ack_requests(SM0, Stanzas0),
Copy link

Choose a reason for hiding this comment

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

According to Elvis:

Missing space after "," on line 299

erszcz added a commit that referenced this pull request Aug 7, 2015
@erszcz erszcz merged commit 317a28d into master Aug 7, 2015
@erszcz erszcz deleted the fix_stream_management branch August 7, 2015 13:31
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.

4 participants