mirror of https://github.com/MidnightCommander/mc
mc_ungetlocalcopy(): fixed wrong condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
e7c3711021
commit
7843203257
|
@ -1327,7 +1327,7 @@ mc_ungetlocalcopy (const char *pathname, const char *local, int has_changed)
|
|||
char *path;
|
||||
|
||||
path = vfs_canon_and_translate (pathname);
|
||||
if (path == NULL)
|
||||
if (path != NULL)
|
||||
{
|
||||
struct vfs_class *vfs = vfs_get_class (path);
|
||||
|
||||
|
|
Loading…
Reference in New Issue