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 formatting in some C files. #659

Merged
merged 4 commits into from
Jan 11, 2018
Merged

Fix formatting in some C files. #659

merged 4 commits into from
Jan 11, 2018

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Jan 10, 2018

Also replace &(x) with &x for consistency.


This change is Reviewable

@iphydf iphydf added this to the v0.2.0 milestone Jan 10, 2018
@iphydf iphydf force-pushed the formatting branch 3 times, most recently from 1ad50f5 to a1bb55e Compare January 10, 2018 16:50
Without these, we'll have a memory leak on error paths.
These potentially cause uninitialised reads on some platforms or msgpack
library versions.
We return E_WRITE because closing only fails when an I/O error occurs,
which is likely an error from the write() call above. See close(2) for
details.

http://man7.org/linux/man-pages/man2/close.2.html
Also replace &(x) with &x for consistency.
@jhert0
Copy link
Member

jhert0 commented Jan 11, 2018

:lgtm_strong:


Reviewed 16 of 16 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks broke.


Comments from Reviewable

@iphydf iphydf merged commit 54ec162 into TokTok:master Jan 11, 2018
@nurupo
Copy link
Member

nurupo commented Jan 14, 2018

The last commit didn't pass astyle check on Travis, failing a build. How come this PR was merged?

@iphydf iphydf deleted the formatting branch January 14, 2018 13:44
@iphydf iphydf modified the milestones: v0.2.0-RC1, v0.2.0 Jan 14, 2018
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.

3 participants