rename param

The new name now matches the documentation and the header file.

* src/util/tv_age_restriction.c (age_mask_to_string):
  Rename param from ‘m’ to ‘mask’; update all references.
This commit is contained in:
Thien-Thi Nguyen 2022-07-07 23:54:32 -04:00
parent 15728dbd3e
commit 8c2ee80ae8
No known key found for this signature in database
GPG Key ID: 670322244C807502

View File

@ -37,9 +37,9 @@ get_age_group (
*/ */
char * char *
age_mask_to_string ( age_mask_to_string (
const struct TALER_AgeMask *m) const struct TALER_AgeMask *mask)
{ {
uint32_t bits = m->bits; uint32_t bits = mask->bits;
unsigned int n = 0; unsigned int n = 0;
char *buf = GNUNET_malloc (32 * 3); // max characters possible char *buf = GNUNET_malloc (32 * 3); // max characters possible
char *pos = buf; char *pos = buf;