summaryrefslogtreecommitdiff
path: root/bus/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/connection.c')
-rw-r--r--bus/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bus/connection.c b/bus/connection.c
index 90c6b75b..d15a4266 100644
--- a/bus/connection.c
+++ b/bus/connection.c
@@ -1606,7 +1606,8 @@ bus_connections_expect_reply (BusConnections *connections,
link = _dbus_list_get_next_link (&connections->pending_replies->items,
link);
- ++count;
+ if (pending->will_get_reply == will_get_reply)
+ ++count;
}
if (count >=