search for: h_error

Displaying 6 results from an estimated 6 matches for "h_error".

Did you mean: i_error
2002 Nov 17
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (update)
...x; +#endif switch (afdl[i].a_af) { case AF_INET: @@ -470,10 +472,13 @@ get_name(addr, afd, res, numaddr, pai, p struct addrinfo *pai; int port0; { - u_short port = port0 & 0xffff; + ushort_t port = port0 & 0xffff; struct hostent *hp; struct addrinfo *cur; - int error = 0, h_error; + int error = 0; +#ifdef INET6 + int h_error; +#endif #ifdef INET6 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); @@ -515,7 +520,7 @@ get_addr(hostname, af, res, pai, port0) struct addrinfo *pai; int port0; { - u_short port = port0 & 0xffff; + ushort_t po...
2002 Sep 06
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS
...x; +#endif switch (afdl[i].a_af) { case AF_INET: @@ -470,10 +472,13 @@ get_name(addr, afd, res, numaddr, pai, p struct addrinfo *pai; int port0; { - u_short port = port0 & 0xffff; + ushort_t port = port0 & 0xffff; struct hostent *hp; struct addrinfo *cur; - int error = 0, h_error; + int error = 0; +#ifdef INET6 + int h_error; +#endif #ifdef INET6 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); @@ -515,7 +520,7 @@ get_addr(hostname, af, res, pai, port0) struct addrinfo *pai; int port0; { - u_short port = port0 & 0xffff; + ushort_t po...
2002 Oct 14
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (resend)
...x; +#endif switch (afdl[i].a_af) { case AF_INET: @@ -470,10 +472,13 @@ get_name(addr, afd, res, numaddr, pai, p struct addrinfo *pai; int port0; { - u_short port = port0 & 0xffff; + ushort_t port = port0 & 0xffff; struct hostent *hp; struct addrinfo *cur; - int error = 0, h_error; + int error = 0; +#ifdef INET6 + int h_error; +#endif #ifdef INET6 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); @@ -515,7 +520,7 @@ get_addr(hostname, af, res, pai, port0) struct addrinfo *pai; int port0; { - u_short port = port0 & 0xffff; + ushort_t po...
2002 Nov 06
4
Rsync-2.5.5 on Tru64 UNIX V51.A
...fo.c:263: `AI_MASK' undeclared (first use in this function) lib/getaddrinfo.c:353: `EAI_PROTOCOL' undeclared (first use in this function) lib/getaddrinfo.c:399: warning: unused variable `pfx' lib/getaddrinfo.c: In function `get_name': lib/getaddrinfo.c:476: warning: unused variable `h_error' *** Exit 1 Stop. -------------- next part -------------- HTML attachment scrubbed and removed
2002 Nov 20
0
[PATCH] Updated patch to rsync for Stratus VOS
...02 +++ newrsync/lib/getnameinfo.c Tue Nov 19 12:37:13 2002 @@ -85,11 +85,10 @@ getnameinfo(sa, salen, host, hostlen, se struct afd *afd; struct servent *sp; struct hostent *hp; - u_short port; + ushort_t port; int family, i; char *addr, *p; - u_long v4a; - u_char pfx; + ulong_t v4a; int h_error; char numserv[512]; char numaddr[512]; @@ -143,10 +142,13 @@ getnameinfo(sa, salen, host, hostlen, se break; #ifdef INET6 case AF_INET6: + { + uchar_t pfx; pfx = ((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr[0]; if (pfx == 0 || pfx == 0xfe || pfx == 0xff) flags |= NI_NUMERI...
2002 Mar 28
1
(no subject)
...-I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o lib/getaddrinfo.c: In function `getaddrinfo': lib/getaddrinfo.c:399: warning: unused variable `pfx' lib/getaddrinfo.c: In function `get_name': lib/getaddrinfo.c:476: warning: unused variable `h_error' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getnameinfo.c -o lib/getnameinfo.o ... lib/getnameinfo.c:92: warning: unused variable `pfx' This one will go away when line 57 in the source is corrected from {0, 0, 0}, to {0, 0, 0, 0}, gcc -I. -I. -g -O2 -DHAVE_CONFIG_...