diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-05-11 22:38:23 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-07-14 15:36:03 -0400 |
commit | dd63302d72fdb7276fce5c1edbc480af49bdf246 (patch) | |
tree | cbafc2eb9812da2bb02a28eaa3a41d72d71400fc /test/decode-gcov.c | |
parent | 6eddb6e1229b617ad44c8d61107983229dc7d589 (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>
(cherry picked from commit ba22606c3b21c55c5c0af30d8f07edd71ded7213)
Diffstat (limited to 'test/decode-gcov.c')
0 files changed, 0 insertions, 0 deletions