From 5107125ce24e1efac196a97481d41a9a66673695 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Mon, 4 Mar 2002 01:43:48 +0000 Subject: changed fd_set variables around so no clash --- ax25mond/ax25mond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ax25mond/ax25mond.c') diff --git a/ax25mond/ax25mond.c b/ax25mond/ax25mond.c index 928b8ed..2d19be0 100644 --- a/ax25mond/ax25mond.c +++ b/ax25mond/ax25mond.c @@ -108,7 +108,7 @@ struct sockaddr *build_sockaddr(const char *name, int *addrlen) addr.si.sin_addr.s_addr = INADDR_ANY; } else if (!strcmp(host_name, "loopback")) { addr.si.sin_addr.s_addr = inet_addr("127.0.0.1"); - } else if ((addr.si.sin_addr.s_addr = inet_addr(host_name)) == -1L) { + } else if ((addr.si.sin_addr.s_addr = inet_addr(host_name)) == -1) { struct hostent *hp = gethostbyname(host_name); endhostent(); if (!hp) -- cgit v1.2.3