summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/efreet/efreet_trash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_trash.c b/src/lib/efreet/efreet_trash.c
index 1301b831b9..e7592473fd 100644
--- a/src/lib/efreet/efreet_trash.c
+++ b/src/lib/efreet/efreet_trash.c
@@ -111,6 +111,7 @@ efreet_trash_dir_get(const char *file)
111 if (s_src.st_dev == s_dest.st_dev) 111 if (s_src.st_dev == s_dest.st_dev)
112 { 112 {
113 strncpy(buf, dir, PATH_MAX); 113 strncpy(buf, dir, PATH_MAX);
114 buf[PATH_MAX - 1] = 0;
114 continue; 115 continue;
115 } 116 }
116 else 117 else