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:
Alex Riesen 2006-09-28 20:48:14 +02:00 committed by Junio C Hamano
parent 695dffe2ef
commit 100690b6e8

View File

@ -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;