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

redid s_err.c to be faster (based on bahamut)

This commit is contained in:
codemastr
2000-06-24 18:14:26 +00:00
parent e3234d5671
commit 65cdea5cfe
4 changed files with 1032 additions and 442 deletions
+2
View File
@@ -400,3 +400,5 @@
on (from bahamut)
- Added find_uline (from bahamut) for the new U:line code
- Modified /map to work with the new U:line code
- Redid s_err.c to be ALOT faster, based on bahamut's s_err.c (ALOT of
work)
+5 -1
View File
@@ -29,6 +29,11 @@
#include "fdlist.h"
#endif
/* for the new s_err.c */
extern char *getreply(int);
#define rpl_str(x) getreply(x)
#define err_str(x) getreply(x)
extern time_t nextconnect, nextdnscheck, nextping;
extern aClient *client, me, *local[];
extern aChannel *channel;
@@ -137,7 +142,6 @@ extern char *MyMalloc PROTO((int)), *MyRealloc PROTO((char *, int));
extern char *debugmode, *configfile, *sbrk0;
extern char *getfield PROTO((char *));
extern void get_sockhost PROTO((aClient *, char *));
extern char *rpl_str PROTO((int)), *err_str PROTO((int));
extern char *strerror PROTO((int));
extern int dgets PROTO((int, char *, int));
extern char *inetntoa PROTO((char *));
+2
View File
@@ -314,3 +314,5 @@
#define RPL_DUMPING 640
#define RPL_DUMPRPL 641
#define RPL_EODUMP 642
#define ERR_NUMERICERR 999
+1023 -441
View File
File diff suppressed because it is too large Load Diff