# | Line 182 | Line 182 | char *zfile, *oldfile; | |
---|---|---|
182 | if (write(zfd, (char *)zbar[0], hresolu*sizeof(float)) | |
183 | < hresolu*sizeof(float)) | |
184 | goto writerr; | |
185 | < | close(zfd); |
185 | > | if (close(zfd) == -1) |
186 | > | goto writerr; |
187 | for (i = 0; i <= psample; i++) | |
188 | free((char *)zbar[i]); | |
189 | } | |
# | Line 329 | Line 330 | int x, y; /* pixel position */ | |
330 | ||
331 | copycolor(col, thisray.rcol); /* return color */ | |
332 | ||
333 | < | return(thisray.rot); /* return distance */ |
333 | > | return(thisray.rt); /* return distance */ |
334 | } | |
335 | ||
336 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |