Correct timeout handling
authorJames Westby <jw+debian@jameswestby.net>
Thu, 1 Oct 2009 14:09:54 +0000 (15:09 +0100)
committerScott James Remnant <scott@ubuntu.com>
Thu, 1 Oct 2009 14:09:54 +0000 (15:09 +0100)
commit03cc20707a3e7b2d8629e84d7a766f41edb8b444
tree42ac4152cec8a0a2d91b7124de1119dd22a8ad78
parenta8cf509a06cdc42568e446dea8a54a398e1c003b
Correct timeout handling

The timeout handling code subtracts the elapsed time from the timeout
each time a message is received, which drastically reduces the timeout
in circumstances such as service activation.

Correct so that the timeout is never modified, and the elapsed time
instead subtracted where necessary.

Signed-off-by: James Westby <jw+debian@jameswestby.net>
Signed-off-by: Scott James Remnant <scott@ubuntu.com>
dbus/dbus-connection.c