]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/fce_util.c
chmod -x fce*.c
[netatalk.git] / etc / afpd / fce_util.c
old mode 100755 (executable)
new mode 100644 (file)
index c1377ee..6959509
 #include <atalk/cnid.h>\r
 #include <atalk/unix.h>\r
 #include <atalk/fce_api.h>\r
+#include <atalk/globals.h>\r
 \r
 #include "fork.h"\r
 #include "file.h"\r
-#include "globals.h"\r
 #include "directory.h"\r
 #include "desktop.h"\r
 #include "volume.h"\r
@@ -199,15 +199,12 @@ int fce_handle_coalescation( char *path, int is_dir, int mode )
        fce_history_list[oldest_entry_idx].tv = tv;\r
        fce_history_list[oldest_entry_idx].mode = mode;\r
        fce_history_list[oldest_entry_idx].is_dir = is_dir;\r
-       strncpy( fce_history_list[oldest_entry_idx].path, path, FCE_MAX_PATH_LEN );\r
+       strncpy( fce_history_list[oldest_entry_idx].path, path, MAXPATHLEN);\r
 \r
        /* we have to handle this event */\r
        return FALSE;\r
-\r
 }\r
 \r
-\r
-\r
 /*\r
  *\r
  * Set event coalescation to reduce number of events sent over UDP \r