fix expiration of pending replies
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>
Thu, 3 Apr 2008 15:12:27 +0000 (11:12 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 3 Apr 2008 15:12:27 +0000 (11:12 -0400)
commit7c4b34580290046fe7c136fab97b0be5642ee163
tree618afe545eae567ece7e119b49a8138d6108b857
parent960fef844bdb0054c082a31e43f9631b1d5eb69b
fix expiration of pending replies

* bus/expirelist.c
  (do_expiration_with_current_time): calculate correct min wait time
  and next interval
  (bus_expire_list_add, bus_expire_list_add_link): if the timeout is
  disabled when we add an item to the expire list, enable the timeout
  (do_expiration_with_current_time): only set timeout if there are
  items to expire
ChangeLog
bus/expirelist.c