execute.c
changeset 107 c0a1c1e98b6a
parent 99 88d96be4e0e9
child 110 2726c92a5cb3
--- a/execute.c	Fri Apr 06 00:59:35 2007 +0200
+++ b/execute.c	Fri Apr 06 01:20:40 2007 +0200
@@ -36,7 +36,7 @@
             error("Reading the size of the name");
         ofname = (char *) malloc(namesize);
         res = read(fd_read_filename, ofname, namesize);
-        if (res != sizeof(namesize))
+        if (res != namesize)
             error("Reading the the out file name");
     }
     close(fd_read_filename);