Bug fixes
diff --git a/utility.c b/utility.c
index 004864a..011c0cf 100644
--- a/utility.c
+++ b/utility.c
@@ -481,14 +481,8 @@
     char *cpOld;
     char buf[NAME_MAX];
 
-    strcpy (buf, name);
-    if (buf[strlen(buf)]!='/') {
-	buf[strlen(buf)] = '/';
-	buf[strlen(buf)+1] = '\0';
-    }
-
+    strcpy( buf, name);
     cp = strchr (buf, '/');
-
     while (cp) {
 	cpOld = cp;
 	cp = strchr (cp + 1, '/');