mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Small fix to the previous patch - function return one extra symbol :(
This commit is contained in:
parent
04daf44b51
commit
6af6c687c5
@ -933,11 +933,11 @@ char *p, *q;
|
||||
#ifdef USE_VFS
|
||||
if((q=strrchr(p, '#')) != 0){
|
||||
/* Here we need proper VFS function */
|
||||
if(!strcmp(q+1, "utar") || extfs_which(q+1) >= 0 || sfs_which(q+1) >= 0)
|
||||
if(!strcmp((q+1), "utar") || extfs_which(q+1) >= 0 || sfs_which(q+1) >= 0)
|
||||
*q = '\0';
|
||||
}
|
||||
#endif /* USE_VFS */
|
||||
return p;
|
||||
return (p+1);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user