mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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>
This commit is contained in:
parent
3a79349779
commit
c27afc0983
@ -553,7 +553,7 @@ static void messaging_dgm_out_threaded_job(void *private_data)
|
||||
if (state->sent != -1) {
|
||||
return;
|
||||
}
|
||||
if (errno != ENOBUFS) {
|
||||
if (state->err != ENOBUFS) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user