diff options
author | Craig Small <csmall@enc.com.au> | 2002-03-04 01:43:48 +0000 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2002-03-04 01:43:48 +0000 |
commit | 5107125ce24e1efac196a97481d41a9a66673695 (patch) | |
tree | ed29cd32f82b549417f62ed8799b1ba8650310f2 /ax25mond/ax25mond.c | |
parent | 9334703d7b98912885f6631a46f290374dbb0b0b (diff) |
changed fd_set variables around so no clashax25-apps-0.0.6
Diffstat (limited to 'ax25mond/ax25mond.c')
-rw-r--r-- | ax25mond/ax25mond.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |