mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 16:53:11 +02:00
Poll() stuff
This commit is contained in:
+2
-2
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
@@ -105,6 +105,9 @@ char serveropts[] = {
|
||||
#endif
|
||||
#ifdef STRIPBADWORDS
|
||||
'X',
|
||||
#endif
|
||||
#ifdef USE_POLL
|
||||
'P',
|
||||
#endif
|
||||
'\0'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user