dtfile: 0 is not NULL
authoralx <alx@fastestcode.org>
Sat, 11 Jul 2015 20:54:31 +0000 (22:54 +0200)
committerJon Trulson <jon@radscan.com>
Fri, 17 Jul 2015 01:21:18 +0000 (19:21 -0600)
cde/programs/dtfile/FileManip.c

index 5b4d6c5522adb6c261c2a4af27b001f276509883..788efc5285a4b8fc177d239b02ffcb40d080b48b 100644 (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\"");