X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fappl.c;h=51b64ef283b97d48e3ef826fd25d20a6c3b7a7ed;hb=465246e257d9aff9855e3e35d8fd5983db932b45;hp=d7e72f2395a5e78c9821d83160342eb11fde090b;hpb=3ab52d7efd356bcda9bae50b06db362ac4d09d76;p=netatalk.git diff --git a/etc/afpd/appl.c b/etc/afpd/appl.c index d7e72f23..51b64ef2 100644 --- a/etc/afpd/appl.c +++ b/etc/afpd/appl.c @@ -22,9 +22,9 @@ #include #include #include +#include #include "volume.h" -#include "globals.h" #include "directory.h" #include "file.h" #include "desktop.h" @@ -138,7 +138,7 @@ makemacpath(const struct vol *vol, char *mpath, int mpathlen, struct dir *dir, c /* FIXME: pathname too long */ return NULL; } - memcpy(p, cfrombstring(dir->d_m_name), blength(dir->d_m_name) + 1); + memcpy(p, cfrombstr(dir->d_m_name), blength(dir->d_m_name) + 1); if ((dir = dirlookup(vol, dir->d_pdid)) == NULL) return NULL; }