1
0
Fork 0
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:
alx 2015-07-11 22:54:31 +02:00 committed by Jon Trulson
parent 304f99d26c
commit 5c6ddfd0c1

View file

@ -545,10 +545,10 @@ MoveDir(
/* pass in geometry, and other command lines params when available */
if(type == TRASH_DIRECTORY)
rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace",
"-confirmErrors", "-popDown","-checkPerms", source, target, 0);
"-confirmErrors", "-popDown","-checkPerms", source, target, NULL);
else
rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace",
"-confirmErrors", "-popDown", source, target, 0);
"-confirmErrors", "-popDown", source, target, NULL);
/* call errorhandler */
perror ("Could not exec child process \"dtfile_copy\"");