mirror of https://gerrit.osmocom.org/libosmocore
The function osmo_sock_get_name_buf() can be used to write a string representation to a user provided memory. Unfortunately the proper length for the user provided memory is not obvious. To make using osmo_sock_get_name_buf() more practical, add a define constant that defines the length of the required memory. Also use this define in socket.c. Change-Id: If8be8c2c0d4935da17ab13b2c2127b719ceefbccchanges/54/12554/3
parent
1bec3908c6
commit
64b51eb68b
Loading…
Reference in new issue