mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtfile: 0 is not NULL
This commit is contained in:
parent
304f99d26c
commit
5c6ddfd0c1
1 changed files with 2 additions and 2 deletions
|
@ -545,10 +545,10 @@ MoveDir(
|
||||||
/* pass in geometry, and other command lines params when available */
|
/* pass in geometry, and other command lines params when available */
|
||||||
if(type == TRASH_DIRECTORY)
|
if(type == TRASH_DIRECTORY)
|
||||||
rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace",
|
rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace",
|
||||||
"-confirmErrors", "-popDown","-checkPerms", source, target, 0);
|
"-confirmErrors", "-popDown","-checkPerms", source, target, NULL);
|
||||||
else
|
else
|
||||||
rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace",
|
rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace",
|
||||||
"-confirmErrors", "-popDown", source, target, 0);
|
"-confirmErrors", "-popDown", source, target, NULL);
|
||||||
|
|
||||||
/* call errorhandler */
|
/* call errorhandler */
|
||||||
perror ("Could not exec child process \"dtfile_copy\"");
|
perror ("Could not exec child process \"dtfile_copy\"");
|
||||||
|
|
Loading…
Reference in a new issue