aboutsummaryrefslogtreecommitdiff
path: root/src/mm-auth.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-08-15 23:21:05 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-08-16 16:27:42 +0200
commit5a01e5406660bc4f5a3cf68254510e867f89a457 (patch)
tree584f237f83754ac84c10a569e5dbecdb6e9bb77d /src/mm-auth.c
parent1f2bb640284ef75e411658a3ff67f844bea8b260 (diff)
charsets: simplify check to see if conversion to charset possible
Instead of having a method that returns the expected length after the conversion and the amount of input UTF-8 characters that couldn't be converted to the given charset, simplify the logic and just define a method that returns a boolean specifying whether the conversion is possible or not. Also, include unit tests.
Diffstat (limited to 'src/mm-auth.c')
0 files changed, 0 insertions, 0 deletions