From bebc830fc47cbf191f7518dfd0cd88c4938c2dbf Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 28 Oct 2003 23:51:24 +0000 Subject: 2003-10-28 Havoc Pennington * 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 --- bus/expirelist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bus/expirelist.h') 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 { -- cgit