Skip to content
Commit a0c669e7 authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: sockets: Simplify common getsockname() implementation



Simplify common `getsockname()` implementation by using VTABLE_CALL()
macro, in the same way as other socket calls do. This additionally
allows to cover the case, when `getsockname()` is not implemnented by
particular socket implementation, preventing the crash.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 889ab910
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment