daemon error handling: Clear errno before calling stub functions.
authorRichard Jones <rjones@redhat.com>
Mon, 30 Nov 2009 13:55:04 +0000 (13:55 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 4 Dec 2009 15:06:23 +0000 (15:06 +0000)
commit50c239c045675c7480d88bf10857f3e85c3385d3
treea4924a0f0ac0f495003fe960abfdd2297d57422a
parentf02acc3d307f210d418a0177f374d02a4f8ccb5a
daemon error handling: Clear errno before calling stub functions.

This just ensures that we accurately report errors, even if our
error path code doesn't set errno.  We won't end up with a bogus
errno left over from a previous call.
daemon/proto.c