[PATCH] Message counter fix

Havoc Pennington hp at redhat.com
Thu Jul 8 11:55:46 PDT 2004

On Wed, 2004-07-07 at 00:11, Christian Hammond wrote:
> I noticed that after keeping a couple of D-BUS apps running 24/7 for a
> few days that D-BUS would report that the service's outgoing message
> queue was full. After writing a small test app that just sent 5
> messages and called dbus_connection_get_outgoing_size() before and
> after each, I realized the counter wasn't being reduced.
> The attached one-liner patch fixed the problem for me. Not being an
> _dbus_message_remove_size_counter() was incrementing by
> size_counter_delta rather than decrementing by it. I assume the new
> behavior is correct.

Thanks, looks like a correct patch. Please commit.


More information about the dbus mailing list