mirror of
https://github.com/anope/anope.git
synced 2026-06-27 18:46:39 +02:00
Properly initialized new objects when needed so they don't contain garbage data.
Also, converted line endings in os_ignore_db from CR+LF to LF. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -75,6 +75,7 @@ Timeout *add_timeout(int delay, void (*code) (Timeout *), int repeat)
|
||||
t->repeat = repeat;
|
||||
t->next = timeouts;
|
||||
t->prev = NULL;
|
||||
t->data = NULL;
|
||||
if (timeouts)
|
||||
timeouts->prev = t;
|
||||
timeouts = t;
|
||||
|
||||
Reference in New Issue
Block a user