Commit Graph

6 Commits

Author SHA1 Message Date
David Shaw 90bd542151 * srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include ordering
issues?  Move sys/types.h up higher to work around.
2003-10-13 03:32:52 +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