summaryrefslogtreecommitdiff
path: root/lib/messaging
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-02-12 21:27:19 +0100
committerVolker Lendecke <vl@samba.org>2021-03-19 07:09:37 +0000
commit72540222c2290dc041fb01018de7febe44a4ac0d (patch)
tree4a4a0b78b890a8466389459f9e2ed7f27afb03ef /lib/messaging
parent8e54ed5a9cfcf497a51fe4b72387f255b9b0fa5e (diff)
downloadsamba-72540222c2290dc041fb01018de7febe44a4ac0d.tar.gz
lib: Properly return errno from open_socket_in()
Before this patch, open_socket_in() relied on quite a bit of code to not touch errno after for example socket() returned -1. Change this to explicitly save errno in "ret", such that a later DEBUG() with all its formatting code can mess it up. While there, remove the debuglevel parameter. I don't think this actually useful. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/messaging')
0 files changed, 0 insertions, 0 deletions