]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
net.c: Use proper socket type for __get_sock_name().
authorAndre Noll <maan@systemlinux.org>
Fri, 10 Jun 2011 14:03:30 +0000 (16:03 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 6 Jul 2011 08:05:06 +0000 (10:05 +0200)
This patch gets rid of

net.c:652:33: warning: incompatible pointer types passing 'int (int, __SOCKADDR_ARG, socklen_t *restrict)', expected 'int (*)(int, struct sockaddr *, socklen_t *)' [-pedantic]
        return __get_sock_name(sockfd, getsockname);
                                       ^~~~~~~~~~~

when compiling with clang.


No differences found