mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
72540222c2
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>