89 |
|
/* for (i = nmods; i--; ) |
90 |
|
memset(bp->mca[i]->cbin, 0, sizeof(DCOLOR)*bp->mca[i]->nbins); |
91 |
|
*/ |
92 |
+ |
if (bp->next != NULL) |
93 |
+ |
error(CONSISTENCY, "free_binq() handed list"); |
94 |
|
bp->ndx = 0; |
95 |
|
bp->next = free_bq; /* push onto free list */ |
96 |
|
free_bq = bp; |
250 |
|
bq->nadded = kida[k].nr; |
251 |
|
/* read from child */ |
252 |
|
for (j = 0; j < nmods; j++) |
253 |
< |
if (fread(bq->mca[j]->cbin, sizeof(DCOLOR), bq->mca[j]->nbins, |
253 |
> |
if (getbinary(bq->mca[j]->cbin, sizeof(DCOLOR), bq->mca[j]->nbins, |
254 |
|
kida[k].infp) != bq->mca[j]->nbins) |
255 |
|
error(SYSTEM, "read error from render process"); |
256 |
|
|