floodlight/indigo — pull request #38 by kenchiang (2013-08-20 22:41:06+00:00)
Title: Clear revents when registering a new socket.

Reviewer: @rlane

Otherwise, stale revents would trigger an immediate call to the newly registered callback.