This is an archive of the discontinued Mercurial Phabricator instance.

util: fix signature of setsockopt in socket observer
ClosedPublic

Authored by durin42 on Aug 10 2018, 11:08 AM.

Details

Summary

The format string expected the result, callers all passed the result,
but we didn't actually accept the result to this function. I swear
I've looked at this code a dozen times trying to find the problem, and
it was this simple all along.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Aug 10 2018, 11:08 AM
pulkit accepted this revision.Aug 10 2018, 11:52 AM
pulkit added a subscriber: pulkit.

I also have been here a lot of times and I was unable to found what's wrong. Kudos for fixing this.

This revision was automatically updated to reflect the committed changes.