lib/util/charset: fix conversion failure logging
commit1c60dc5c3252685d51324481063461f60cf968fe
authorRalph Boehme <slow@samba.org>
Wed, 3 Jun 2015 14:58:22 +0000 (3 16:58 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 9 Jun 2015 16:11:13 +0000 (9 18:11 +0200)
tree6d5b4036dc921550330dc90a3805e1f5a0090a05
parentb26a1449a0e6d01d5ddca89547df739732c8a230
lib/util/charset: fix conversion failure logging

Move catch-all debug statement with loglevel 0 from behind the switch
clause into the switch clause as default case. Fixes an issue that
resulted in the log being flooded with level 0 messages in case someone
put a file with an illegal UTF8 encoding (eg '\xA0test') on the server.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/charset/convert_string.c