]> arthur.barton.de Git - netatalk.git/blobdiff - bin/ad/ad_util.c
Remove "hex encoding" and "use dots" options.
[netatalk.git] / bin / ad / ad_util.c
index d994f74f56afa666fe8376d142c882fcf6a83aaa..682bc57c98190191bccdc5f6721315395b62d6d3 100644 (file)
@@ -216,15 +216,6 @@ int convert_dots_encoding(const afpvol_t *svol, const afpvol_t *dvol, char *path
         from = svol->vol->v_volcharset;
     }
 
-    if ( (svol->vol->v_path)
-         && ! (svol->vol->v_flags & AFPVOL_USEDOTS)
-         && (dvol->vol->v_flags & AFPVOL_USEDOTS)) {
-        /* source is without dots, destination is with */
-        flags |= CONV_UNESCAPEHEX;
-    } else if (! (dvol->vol->v_flags & AFPVOL_USEDOTS)) {
-        flags |= CONV_ESCAPEDOTS;
-    }
-
     int len = convert_charset(from,
                               dvol->vol->v_volcharset,
                               dvol->vol->v_maccharset,