From: Vasiliy Balyasnyy Date: Mon, 16 Sep 2013 11:14:33 +0000 (+0400) Subject: dbus-mainloop.c: undeclared variable n_fds if define MAINLOOP_SPEW. X-Git-Tag: dbus-1.7.6~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52b6106a3336ba092b5be837b3499b2a60bc8d5f;p=thirdparty%2Fdbus.git 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 Reviewed-by: Simon McVittie --- diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c index 8b4da1649..7ff9dc2c7 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,