mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-03 13:38:05 +02:00
2005-01-20 Havoc Pennington <hp@redhat.com>
* dbus/dbus-sysdeps.c (_dbus_poll): amazingly, trying to compile code can reveal bugs in it
This commit is contained in:
parent
9dd0367977
commit
a0effa8593
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-01-20 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* dbus/dbus-sysdeps.c (_dbus_poll): amazingly, trying to compile
|
||||
code can reveal bugs in it
|
||||
|
||||
2005-01-20 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* dbus/dbus-sysdeps.c (_dbus_poll): fix several bugs in the
|
||||
|
|
|
|||
|
|
@ -1840,7 +1840,7 @@ _dbus_poll (DBusPollFD *fds,
|
|||
|
||||
for (i = 0; i < n_fds; i++)
|
||||
{
|
||||
DBusPollFD *fdp = fds[i];
|
||||
DBusPollFD *fdp = &fds[i];
|
||||
|
||||
if (fdp->events & _DBUS_POLLIN)
|
||||
FD_SET (fdp->fd, &read_set);
|
||||
|
|
@ -1863,7 +1863,7 @@ _dbus_poll (DBusPollFD *fds,
|
|||
{
|
||||
for (i = 0; i < n_fds; i++)
|
||||
{
|
||||
DBusPollFD *fdp = fds[i];
|
||||
DBusPollFD *fdp = &fds[i];
|
||||
|
||||
fdp->revents = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue