summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasiliy Balyasnyy <v.balyasnyy@samsung.com>2013-09-16 15:14:33 +0400
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-16 14:55:10 +0100
commit52b6106a3336ba092b5be837b3499b2a60bc8d5f (patch)
tree8ca1b4f832e7a7aef12d63a8e96277589185f903
parent33d8b3b1508d2305b25ff06fcffd96ff925c500e (diff)
downloaddbus-52b6106a3336ba092b5be837b3499b2a60bc8d5f.tar.gz
dbus-mainloop.c: undeclared variable n_fds if define MAINLOOP_SPEW.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69410 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--dbus/dbus-mainloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c
index 8b4da164..7ff9dc2c 100644
--- a/dbus/dbus-mainloop.c
+++ b/dbus/dbus-mainloop.c
@@ -654,7 +654,7 @@ _dbus_loop_iterate (DBusLoop *loop,
timeout = MIN (timeout, _dbus_get_oom_wait ());
#if MAINLOOP_SPEW
- _dbus_verbose (" polling on %d descriptors timeout %ld\n", n_fds, timeout);
+ _dbus_verbose (" polling on %d descriptors timeout %ld\n", _DBUS_N_ELEMENTS (ready_fds), timeout);
#endif
n_ready = _dbus_socket_set_poll (loop->socket_set, ready_fds,