1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 08:43:12 +02:00

+- Added a hell lot of DNS debugging code, and fixed the BIGENDIAN problem

+  with resolver. Thanks to dawn and Trash.net for shell on a sparc
This commit is contained in:
stskeeps
2001-10-14 21:54:25 +00:00
parent 85ce15ddf7
commit 3f9849b5fd
8 changed files with 317 additions and 222 deletions
+2 -2
View File
@@ -243,8 +243,8 @@ void send_usage(cptr, nick)
if (getrusage(RUSAGE_SELF, &rus) == -1)
{
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__APPLE__)
/* extern char *sys_errlist[]; */
#ifdef _SOLARIS
extern char *sys_errlist[];
#endif
sendto_one(cptr, ":%s NOTICE %s :Getruseage error: %s.",
me.name, nick, sys_errlist[errno]);