diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-23 08:57:38 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-23 08:57:38 +0000 |
commit | cdec9aa9c62601e459204b285025976d8bfc2ed4 (patch) | |
tree | f4c9e59a40348162c0541420896e18ead99d5326 | |
parent | 3f43df1db8a19c36fce75c38086fd320a4fdc53a (diff) | |
download | irssi-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
-rw-r--r-- | src/core/masks.c | 1 |
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 == '!') { |