Fix return value of GLib event dispatcher socketNotifierSourceCheck

The wrong return value didn't seem to result in observable bugs.

Change-Id: Iaba74d0acd4352af9be70498a7d5556bb1e02f5f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Andreas Hartmetz 2018-04-12 21:28:30 +02:00
parent 37df81b788
commit 50315cc56e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static gboolean socketNotifierSourceCheck(GSource *source)
p->socketNotifier->setEnabled(false);
i--;
} else {
pending = ((p->pollfd.revents & p->pollfd.events) != 0);
pending = pending || ((p->pollfd.revents & p->pollfd.events) != 0);
}
}