]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_avahi.c
Spelling fix in log message: continous -> continuous
[netatalk.git] / etc / afpd / afp_avahi.c
index 351e00190c9912c118eb592a0a2c3a22578c338c..83f73ff717195c8475c135181896964719334953 100644 (file)
@@ -21,6 +21,7 @@
 #include <atalk/dsi.h>
 #include <atalk/unicode.h>
 
+#include "afp_zeroconf.h"
 #include "afp_avahi.h"
 #include "afp_config.h"
 #include "volume.h"
@@ -71,7 +72,7 @@ static void register_stuff(void) {
                
         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;
             }