]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_asp.c
Configurable symlink behaviour
[netatalk.git] / etc / afpd / afp_asp.c
index 3e208f74a102d1db449b49b317908f508e8a75ec..e255227538a43f56d2a71ce2ea3873d7241b57a2 100644 (file)
@@ -81,7 +81,7 @@ static void afp_authprint_remove(AFPObj *obj)
 
     memset( addr_filename_buff, 0, 256 );
 
-    if(lstat(addr_filename, &cap_st) == 0) {
+    if (stat(addr_filename, &cap_st) == 0) {
        if( S_ISREG(cap_st.st_mode) ) {
            int len;
            int capfd = open( addr_filename, O_RDONLY );