David Shaw
f539f3d2b2
Better implementation for the SRV check. We don't need to actually check
...
all the header files individually since the SRV test compile uses them
together.
2004-12-29 00:58:05 +00:00
David Shaw
2b9e678fde
* configure.ac: Check for arpa/nameser.h.
...
* srv.h: Don't include arpa/nameser.h unless we have it. Include
"types.h" for u16.
2004-12-16 18:36:42 +00:00
David Shaw
cd06705184
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,
...
ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native
Windows compilers. Requested by Brian Gladman. From Werner on stable
branch.
* http.c (connect_server): Oops - forgot to freeaddrinfo().
2003-08-28 23:29:32 +00:00
David Shaw
4d297a7ff1
* srv.h, srv.c: Include windows.h with MINGW32.
2003-05-31 03:15:50 +00:00
David Shaw
01d6a55b77
* srv.c (main): Test against wwwkeys.pgp.net.
...
* srv.h: Grr. The RH7.3 Linux man page defines the fourth arg of dn_expand
as unsigned char*, but it is really char* according to resolv.h.
2003-04-13 20:06:09 +00:00
David Shaw
1995efc728
* srv.h, srv.c (getsrv): Use unsigned char rather than char. Noted by
...
Stefan Bellon.
2003-03-15 02:28:02 +00:00
David Shaw
81844d2b65
* http.c (connect_server): Use DNS SRV to get a server list. Fail over to
...
A records if necessary.
* Makefile.am, srv.h, srv.c: New DNS SRV handling code.
2003-03-11 22:04:53 +00:00