summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-sysdeps.c')
-rw-r--r--dbus/dbus-sysdeps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c
index 96bf3fea..83c1ce4c 100644
--- a/dbus/dbus-sysdeps.c
+++ b/dbus/dbus-sysdeps.c
@@ -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;