diff options
author | Havoc Pennington <hp@redhat.com> | 2003-10-28 23:51:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-10-28 23:51:24 +0000 |
commit | bebc830fc47cbf191f7518dfd0cd88c4938c2dbf (patch) | |
tree | 929dcab1c067ca35be2d51ce8a729098bf33dc69 /bus/expirelist.h | |
parent | e11ae7246655e59f8e04d1ffcb3788176a6d98b8 (diff) | |
download | dbus-bebc830fc47cbf191f7518dfd0cd88c4938c2dbf.tar.gz |
2003-10-28 Havoc Pennington <hp@redhat.com>
* bus/expirelist.c (do_expiration_with_current_time): detect
failure of the expire_func due to OOM
* bus/connection.c (bus_pending_reply_expired): return FALSE on OOM
* bus/dispatch.c (check_send_exit_to_service): fix to handle the
NoReply error that's now created by the bus when the service exits
Diffstat (limited to 'bus/expirelist.h')
-rw-r--r-- | bus/expirelist.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bus/expirelist.h b/bus/expirelist.h index c843a446..e534e8d9 100644 --- a/bus/expirelist.h +++ b/bus/expirelist.h @@ -31,9 +31,9 @@ typedef struct BusExpireList BusExpireList; typedef struct BusExpireItem BusExpireItem; -typedef void (* BusExpireFunc) (BusExpireList *list, - DBusList *link, - void *data); +typedef dbus_bool_t (* BusExpireFunc) (BusExpireList *list, + DBusList *link, + void *data); struct BusExpireList { |