1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00
Volker Lendecke 72540222c2 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>
2021-03-19 07:09:37 +00:00
..
2020-01-06 01:47:30 +00:00
2017-04-07 22:52:24 +02:00
2020-10-02 21:30:33 +00:00
2020-10-24 05:57:31 +00:00
2021-03-16 17:09:31 +00:00
2020-03-20 17:11:28 +00:00
2019-02-28 13:53:40 +00:00
2017-12-05 04:58:26 +01:00
2021-01-01 11:56:23 +00:00
2020-08-17 19:35:38 +00:00
2020-05-21 20:38:31 +00:00
2017-03-16 20:30:19 +01:00