dbus: fix timeout handling
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 18 Aug 2014 16:59:31 +0000 (19:59 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 18 Aug 2014 17:29:36 +0000 (20:29 +0300)
commit228182fe9c41ada7ff4f4c31c24da28e77613176
treea3a2e116305d888ec09228d3848ee0cb43d777f5
parent3d549e2bc9909c58a9db24c6d1f72d21fb044d07
dbus: fix timeout handling

 - Remove useless pointer back to DBusTimeout.
 - Fix memory error handling.
 - Fix race in accessing timer data.
 - Fix integer overflow.
 - Follow libdbus rules for retrieving time-out interval upon toggle.
 - Simplify expiration computations.
modules/control/dbus/dbus.c