diff options
author | Volker Lendecke <vl@samba.org> | 2019-02-07 15:57:06 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-03-04 10:37:53 +0000 |
commit | 6bea930499819988be5a0ba901c05b124091b54f (patch) | |
tree | 17e0bc180d6a79aa9809940b0c9e4ad350fdfb26 | |
parent | 6a38b9917b2c25bb557687df2c24618273b6f7f5 (diff) | |
download | samba-6bea930499819988be5a0ba901c05b124091b54f.tar.gz |
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>
(cherry picked from commit c27afc098398274abaed6dc9bef2019091c1b635)
-rw-r--r-- | source3/lib/messages_dgm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/messages_dgm.c b/source3/lib/messages_dgm.c index 0ad8f46e09f..b7f21ae97c5 100644 --- a/source3/lib/messages_dgm.c +++ b/source3/lib/messages_dgm.c @@ -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; } |