mc_ungetlocalcopy(): fixed wrong condition.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-05-16 11:24:50 +04:00
parent e7c3711021
commit 7843203257
1 changed files with 1 additions and 1 deletions

View File

@ -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);