Commit graph

2 commits

Author SHA1 Message Date
Mikhail Teterin
9564e799ea Minor/cosmetic changes:
. on BSD use warn(3) instead of static "socket_error",
	  which is doing the same thing, but poorly;
	. use herror(3) instead of "socket_error", when reporting
	  DNS-related problems;
	. patch the test-harness to not fail if our own hostname
	  is not resolvable -- this is a sign of misconfiguration,
	  not of the library miscompilation.
2005-04-12 17:16:21 +00:00
Mikhail Teterin
1752dff84a Use FreeBSD's declarations of inet_ntoa and _ntop -- FreeBSD's
*definitions* were used before anyway, but the declarations now
conflict on 6.x

Use uint32_t instead of `unsigned long', where a 32-bit unsigned value
is needed -- this fixes the qfDES encryption/decryption on 64-bit
platforms.

Reported by:	pointyhat
Approved by:	portmgr	(kris)
2005-03-26 20:50:06 +00:00