~vanvugt/mir/do-not-land-20160824

Viewing all changes in revision 3649.

  • Committer: Tarmac
  • Author(s): Christopher James Halse Rogers
  • Date: 2016-08-16 02:25:36 UTC
  • mfrom: (3642.3.1 master)
  • Revision ID: tarmac-20160816022536-sz6h9eg69i2m8amu
mtd::TriggeredMainLoop: fix spurious calls to fd sources.

FD_ISSET() is a side-effect-free expression, so this was just unconditionally calling *all* registered sources, regardless of which one(s) triggered the select().

Approved by mir-ci-bot, Daniel van Vugt, Kevin DuBois, Andreas Pokorny.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: