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:
+2
-2
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user