diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-05-11 22:38:23 +0100 |
---|---|---|
committer | Scott James Remnant <scott@ubuntu.com> | 2009-05-28 11:47:21 +0200 |
commit | ba22606c3b21c55c5c0af30d8f07edd71ded7213 (patch) | |
tree | 5a6c38f6acafb2cf87fb9d8381b8209cd3f303fe /dbus/dbus-threads.h | |
parent | f322112b84bef5f6e7c38c08e99a28c4f576c897 (diff) |
Make sure a pending call timeout isn't assumed.
* dbus/dbus-connection.c (_dbus_connection_attach_pending_call_unlocked):
Don't assume that the pending call has a timeout.
(connection_timeout_and_complete_all_pending_call_unlocked): check that
the timeout was actually added before removing it; this safeguards us
if the pending call doesn't have a timeout.
Signed-off-by: Scott James Remnant <scott@ubuntu.com>
Diffstat (limited to 'dbus/dbus-threads.h')
0 files changed, 0 insertions, 0 deletions