diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-12 19:36:22 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-12 19:36:22 +0000 |
commit | 8f25b7d4ca49775b9f05ce9c94f7ffd9600d229f (patch) | |
tree | 16b76a057639a8fecc397a8aa29614903e7d2f9d /src | |
parent | c509a588bfdbe5a0bac2997f28148576ac14cf5c (diff) |
- conf.c:valid_wild_card(): add missing va_end()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2660 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1798,7 +1798,10 @@ valid_wild_card(struct Client *source_p, int warn, int count, ...) * break - no point in searching further. */ if (++nonwild >= ConfigFileEntry.min_nonwildcard) + { + va_end(args); return 1; + } } } } @@ -1806,6 +1809,7 @@ valid_wild_card(struct Client *source_p, int warn, int count, ...) if (warn) sendto_one(source_p, ":%s NOTICE %s :Please include at least %d non-wildcard characters with the mask", me.name, source_p->name, ConfigFileEntry.min_nonwildcard); + va_end(args); return 0; } |