fix daemon.c compilation for NO_IPV6=1
Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
695dffe2ef
commit
100690b6e8
2
daemon.c
2
daemon.c
@ -834,7 +834,7 @@ static int socksetup(char *listen_addr, int listen_port, int **socklist_p)
|
|||||||
|
|
||||||
#else /* NO_IPV6 */
|
#else /* NO_IPV6 */
|
||||||
|
|
||||||
static int socksetup(char *lisen_addr, int listen_port, int **socklist_p)
|
static int socksetup(char *listen_addr, int listen_port, int **socklist_p)
|
||||||
{
|
{
|
||||||
struct sockaddr_in sin;
|
struct sockaddr_in sin;
|
||||||
int sockfd;
|
int sockfd;
|
||||||
|
Loading…
Reference in New Issue
Block a user