From 5d66581dac86de54ec45c5cc4822e2ba9462cc9d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 13 Jun 2011 11:39:11 +0100 Subject: [PATCH] Rename cull_watches_for_fd() based on Thiago's review --- dbus/dbus-mainloop.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c index 0761f00..b49c9b2 100644 --- a/dbus/dbus-mainloop.c +++ b/dbus/dbus-mainloop.c @@ -249,8 +249,8 @@ ensure_watch_table_entry (DBusLoop *loop, } static void -cull_watches_for_fd (DBusLoop *loop, - int fd) +cull_watches_for_invalid_fd (DBusLoop *loop, + int fd) { DBusList *link; DBusList *next; @@ -829,7 +829,7 @@ _dbus_loop_iterate (DBusLoop *loop, if (_DBUS_UNLIKELY (fds[i].revents & _DBUS_POLLNVAL)) { - cull_watches_for_fd (loop, fds[i].fd); + cull_watches_for_invalid_fd (loop, fds[i].fd); goto next_iteration; } -- 1.7.5.4