mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Initialise this so WriteCommon() knows what it's dealing with (thanks, valgrind)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9387 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
13506f0c37
commit
5accf1b16a
@ -27,10 +27,11 @@ static unsigned long* already_sent = NULL;
|
||||
void InitializeAlreadySent(SocketEngine* SE)
|
||||
{
|
||||
already_sent = new unsigned long[SE->GetMaxFds()];
|
||||
memset(already_sent, 0, sizeof(already_sent));
|
||||
}
|
||||
|
||||
/* XXX: Used for speeding up WriteCommon operations */
|
||||
unsigned long uniq_id = 0;
|
||||
unsigned long uniq_id = 1;
|
||||
|
||||
std::string User::ProcessNoticeMasks(const char *sm)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user