]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_mdns.c
Zeroconf could not advertise non-ASCII time machine volume name, suggested by Oichi
[netatalk.git] / etc / afpd / afp_mdns.c
index 2088402f05436013c0dd3724079574359213d942..6b2ba5bacbe5574ab42c605c447a8499258c65dc 100644 (file)
@@ -138,7 +138,7 @@ static void register_stuff(const AFPConfig *configs) {
 
     for (volume = getvolumes(); volume; volume = volume->v_next) {
 
-        if (convert_string(CH_UCS2, CH_UTF8_MAC, volume->v_name, -1, tmpname, 255) <= 0) {
+        if (convert_string(CH_UCS2, CH_UTF8_MAC, volume->v_u8mname, -1, tmpname, 255) <= 0) {
             LOG ( log_error, logtype_afpd, "Could not set Zeroconf volume name for TimeMachine");
             goto fail;
         }