mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 02:10:27 +00:00
Rename "Mask" variables into "Pattern" in assert() statements
This completes commit 3ab00e3a11
which broke debug builds.
This commit is contained in:
parent
51e5ba94b3
commit
27fd92d580
@ -104,7 +104,7 @@ Class_AddMask(const int Class, const char *Pattern, time_t ValidUntil,
|
||||
char mask[MASK_LEN];
|
||||
|
||||
assert(Class < CLASS_COUNT);
|
||||
assert(Mask != NULL);
|
||||
assert(Pattern != NULL);
|
||||
assert(Reason != NULL);
|
||||
|
||||
Lists_MakeMask(Pattern, mask, sizeof(mask));
|
||||
@ -118,7 +118,7 @@ Class_DeleteMask(const int Class, const char *Pattern)
|
||||
char mask[MASK_LEN];
|
||||
|
||||
assert(Class < CLASS_COUNT);
|
||||
assert(Mask != NULL);
|
||||
assert(Pattern != NULL);
|
||||
|
||||
Lists_MakeMask(Pattern, mask, sizeof(mask));
|
||||
Lists_Del(&My_Classes[Class], mask);
|
||||
|
Loading…
Reference in New Issue
Block a user