summaryrefslogtreecommitdiff
path: root/src/core/masks.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-23 08:57:38 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-23 08:57:38 +0000
commitcdec9aa9c62601e459204b285025976d8bfc2ed4 (patch)
treef4c9e59a40348162c0541420896e18ead99d5326 /src/core/masks.c
parent3f43df1db8a19c36fce75c38086fd320a4fdc53a (diff)
downloadirssi-cdec9aa9c62601e459204b285025976d8bfc2ed4.zip
check_address() didn't initialize *wildcards variable properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2709 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/masks.c')
-rw-r--r--src/core/masks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/masks.c b/src/core/masks.c
index 7014e431..02c7655c 100644
--- a/src/core/masks.c
+++ b/src/core/masks.c
@@ -30,6 +30,7 @@ static int check_address(const char *mask, int *wildcards)
{
int ret;
+ *wildcards = FALSE;
ret = FALSE;
while (*mask != '\0') {
if (*mask == '!') {