WvDBusServer: remove serial_to_conn map.
commit59dd32a8011098f2e37cfab76bd48ecf8618dd34
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 24 Sep 2008 15:34:39 +0000 (24 11:34 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 24 Sep 2008 15:34:39 +0000 (24 11:34 -0400)
treee68cf93d4f09f3552a55fdb983bd896e15e00229
parent32a6a77de8a646f031214a085ee4de095067830f
WvDBusServer: remove serial_to_conn map.

That's weird; it turns out serial_to_conn is completely unnecessary, because
the destination of a reply message is always set to the person you're
replying to anyway.  I'm not sure why I thought otherwise.

Remove the silly mapping function.  As a bonus, this gets rid of ridiculous
problems that can be caused when different clients produce messages with the
same serial number, which is not only possible, but common.
dbus/t/wvdbusserver.t.cc
dbus/wvdbusmsg.cc
dbus/wvdbusserver.cc
include/wvdbusserver.h