summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-04-08 11:31:32 +0200
committerHarald Welte <laforge@gnumonks.org>2012-04-08 11:32:18 +0200
commitbc32d051bf408cdf3fb5d502353bd005a599e40b (patch)
tree3877c11b41d25eae47281e98d4558bf22c65b7e3 /src
parent00a12feae6dee8a7f592f0455e3732f3cdd6dc5a (diff)
sync prototype of osmo_sockaddr_is_local with declaration
in e476442cf0e84c65565ace545f5b73602b5f0ffc we changed from sockle_t to unsigned int, but only in the header, not in the implementation!
Diffstat (limited to 'src')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 8a8829b7..defc3665 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -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;