Browse Source

(split_long_name): Fix maximum length estimation. Patch by Jim Lowe.

Sergey Poznyakoff 19 years ago
parent
commit
31ef7e3afb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/create.c

+ 1 - 1
src/create.c

@@ -494,7 +494,7 @@ split_long_name (const char *name, size_t length)
   size_t i;
 
   if (length > PREFIX_FIELD_SIZE)
-    length = PREFIX_FIELD_SIZE+2;
+    length = PREFIX_FIELD_SIZE + 1;
   for (i = length - 1; i > 0; i--)
     if (ISSLASH (name[i]))
       break;