Module: ngircd.git Branch: master Commit: 27fd92d580f472e1ecacd3a9597416a5c23bd289 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=27fd9...
Author: Alexander Barton alex@barton.de Date: Sun Apr 21 15:57:51 2013 +0200
Rename "Mask" variables into "Pattern" in assert() statements
This completes commit 3ab00e3a11 which broke debug builds.
---
src/ngircd/class.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/class.c b/src/ngircd/class.c index 156f943..b2b1aa3 100644 --- a/src/ngircd/class.c +++ b/src/ngircd/class.c @@ -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);
ngircd-commits@lists.barton.de