diff options
Diffstat (limited to 'src/util/tv_age_restriction.c')
-rw-r--r-- | src/util/tv_age_restriction.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/util/tv_age_restriction.c b/src/util/tv_age_restriction.c index a2b0a7451..9fc2b4823 100644 --- a/src/util/tv_age_restriction.c +++ b/src/util/tv_age_restriction.c @@ -34,16 +34,12 @@ get_age_group ( /** * Encodes the age mask into a string, like "8:10:12:14:16:18:21" - * - * @param mask Age mask - * @return String representation of the age mask, allocated by GNUNET_malloc. - * Can be used as value in the TALER config. */ char * 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; char *buf = GNUNET_malloc (32 * 3); // max characters possible char *pos = buf; |