* vfs.c (_vfs_get_class): Fixed segmentation fault introduced today.

This commit is contained in:
Roland Illig 2004-09-25 19:57:20 +00:00
parent aad0e2151b
commit 1fb7d67048

View File

@ -274,7 +274,7 @@ _vfs_get_class (const char *path)
slash = strchr (semi, PATH_SEP);
if (slash == NULL)
slash += strlen (slash);
slash = semi + strlen (semi);
ret = vfs_prefix_to_class (semi+1, slash - (semi + 1));