From 189845ea905169e78ec91e2b4453addd8a61675a Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 11 Jun 2006 16:26:05 +0000 Subject: BUILD : 1.7.14 (1043) BUGS : NOTES : NULLified *s and *t in moduleGetConfigDirective in src/modules.c by default git-svn-id: svn://svn.anope.org/anope/trunk@1043 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@767 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules.c b/src/modules.c index 26e82795f..3c34f3994 100644 --- a/src/modules.c +++ b/src/modules.c @@ -2425,7 +2425,8 @@ int moduleGetConfigDirective(Directive * d) int linenum = 0; int ac = 0; char *av[MAXPARAMS]; - char *s, *t; + char *s = NULL; + char *t = NULL; int retval = 1; config = fopen(SERVICES_CONF, "r"); -- cgit