diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-22 02:31:23 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-22 02:31:23 +0000 |
commit | fb5d7d181578bcba25327dfd4c2d5727fa71ce33 (patch) | |
tree | fafebdfc364d887136587397d01d7431afc2a77a /src/timeout.c | |
parent | 16e667a2cecf9492954333fc7949b6636072f941 (diff) |
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
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeout.c b/src/timeout.c index d3a69bf6d..e8cbf057a 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -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; |