]>
Commit | Line | Data |
---|---|---|
71c7526f ZU |
1 | --- encfs-1.5-orig/encfs/NameIO.cpp 2009-10-27 21:58:02.307752841 +0100 |
2 | +++ encfs-1.5/encfs/NameIO.cpp 2009-10-27 21:59:52.115658074 +0100 | |
3 | @@ -190,7 +190,7 @@ | |
4 | } else | |
5 | { | |
6 | bool isDotFile = (*path == '.'); | |
7 | - char *next = strchr( path, '/' ); | |
8 | + const char *next = strchr( path, '/' ); | |
9 | int len = next ? next - path : strlen( path ); | |
10 | ||
11 | // at this point we know that len > 0 |