version 1.3 | | version 1.4 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.3 2000/05/13 23:44:45 cvs Exp $"; | | * "$Id: init.c,v 1.4 2000/05/18 03:01:41 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
faces[num].datalen[fileno] = len; | | faces[num].datalen[fileno] = len; |
faces[num].data[fileno] = malloc(len); | | faces[num].data[fileno] = malloc(len); |
if ((i=fread( faces[num].data[fileno], len, 1, infile))!=len) { | | if ((i=fread( faces[num].data[fileno], len, 1, infile))!=1) { |
LOG(llevError,"read_client_images: Did not read desired amount of data, wanted %d, got %d\n%s", | | LOG(llevError,"read_client_images: Did not read desired amount of data, wanted %d, got %d\n%s", |
len, i, buf); | | len, i, buf); |
abort(); | | abort(); |