Skip to content
Snippets Groups Projects
Commit a79ae4ba authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

diag: preserve errno in diag_set() and sio_socketname()

malloc() or getsockname() may reset the errno.
Let's ensure we preserve errno when setting the diagnostics.
parent 68f9f39f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment