author | viric@llimona |
Fri, 06 Apr 2007 01:20:40 +0200 | |
changeset 107 | c0a1c1e98b6a |
parent 106 | 693f4b8a49d8 |
child 108 | 9df87fdd5103 |
--- 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);