sync prototype of osmo_sockaddr_is_local with declaration

in e476442cf0 we changed from sockle_t
to unsigned int, but only in the header, not in the implementation!
This commit is contained in:
Harald Welte 2012-04-08 11:31:32 +02:00
parent 00a12feae6
commit bc32d051bf
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ static int sockaddr_equal(const struct sockaddr *a,
* \param[in] addrlen Length of socket address in bytes
* \returns 1 if address is local, 0 otherwise.
*/
int osmo_sockaddr_is_local(struct sockaddr *addr, socklen_t addrlen)
int osmo_sockaddr_is_local(struct sockaddr *addr, unsigned int addrlen)
{
struct ifaddrs *ifaddr, *ifa;