1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 16:53:11 +02:00

Poll() stuff

This commit is contained in:
stskeeps
2000-06-11 13:05:36 +00:00
parent c3773ecd9f
commit f267677ce5
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -231,7 +231,7 @@ void ban_flooder(aClient *cptr)
return;
}
int Rha;
int Rha = 0;
/*
* parse a buffer.
@@ -325,7 +325,7 @@ int parse(cptr, buffer, bufend, mptr)
*/
/* debugging tool */
if (Rha)
if (Rha == 1)
from = NULL;
if (!from)
{
+2 -3
View File
@@ -264,7 +264,6 @@ int inetport(cptr, name, port)
if (cptr->fd < 0)
{
// fprintf(
#if !defined(DEBUGMODE) && !defined(_WIN32)
#endif
report_error("opening stream socket %s:%s", cptr);
@@ -2263,8 +2262,8 @@ int read_message(delay, listp)
}
else if (!IsMe(cptr))
{
if (DBufLength(&cptr->recvQ) && delay2 > 2)
delay2 = 1;
/* if (DBufLength(&cptr->recvQ) && delay2 > 2)
delay2 = 1; */
if (DBufLength(&cptr->recvQ) < 4088)
PFD_SETR(i);
}
+3
View File
@@ -105,6 +105,9 @@ char serveropts[] = {
#endif
#ifdef STRIPBADWORDS
'X',
#endif
#ifdef USE_POLL
'P',
#endif
'\0'
};