1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

ndr/dns-utils: Make error message slightly more readable

max_length will always be greater than one, so we can use the plural.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-07-18 11:18:54 +12:00 committed by Andrew Bartlett
parent 872164137c
commit ee6ef91f9c

View File

@ -122,7 +122,7 @@ enum ndr_err_code ndr_push_dns_string_list(struct ndr_push *ndr,
}
if (s - start > max_length) {
return ndr_push_error(ndr, NDR_ERR_STRING,
"name > %zu character long",
"name > %zu characters long",
max_length);
}
}