Improve error handling in nonce code
authorFrank Osterfeld <frank@kdab.net>
Wed, 21 Oct 2009 17:08:12 +0000 (20:08 +0300)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 1 Dec 2009 07:43:38 +0000 (08:43 +0100)
commitb0091cf47e1172b1d5c1b0c060efe8b60c3b11e1
tree0e4c92e740c6ce046f9f15d2c963b1bed45449c3
parent25ceeeb6799849e2d1c67b421be2110aee2804ff
Improve error handling in nonce code

Replace errno (from assuan code) by DBusError. Errors are not passed
through dbus_accept_with_nonce atm, as the original _dbus_accept() has
no error arg either.

Cherry-picked from commit 8082e92bb3a6304362e730f8b6e324860e1bb26c in
the dbus4win repository, edited to apply and fix whitespace issues by
tml@iki.fi.
dbus/dbus-nonce.c
dbus/dbus-nonce.h