messages_dgm: Use saved errno value
authorVolker Lendecke <vl@samba.org>
Thu, 7 Feb 2019 14:57:06 +0000 (15:57 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Feb 2019 01:18:28 +0000 (02:18 +0100)
commitc27afc098398274abaed6dc9bef2019091c1b635
tree2747f0767818d0afd6b059139f1adec47f5984e4
parent3a793497796395ffa3efda5807bdb1ca8e09e35b
messages_dgm: Use saved errno value

In this case this is just a cleanup, the value has just been set by
messaging_dgm_sendmsg. But as that already saves errno into a local
variable, use that.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13786

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/messages_dgm.c