if (debug) log_d("fileleft = %d", fileleft); 
static int fill_connection(struct connection *cn){	struct pool *p;	int poolleft, n, m;	long fileleft;	if (cn->rfd == -1)		return 0;	p = &cn->output;	poolleft = p->ceiling - p->end;	fileleft = cn->left;	if (debug)		log_d("fileleft = %d", fileleft);	n = fileleft > poolleft ? poolleft : (int) fileleft;	if (n <= 0)		return 0;	cn->left -= n;	if (debug)		log_d("left decreased to %d", cn->left);	m = read(cn->rfd, p->end, n);	if (debug)		log_d("fill_connection: %d %d %d %d", cn->rfd, p->end - p->floor, n, m);	if (m != n) {		if (m == -1)			lerror("read");		else			log_d("premature end of file %s", cn->r->path_translated);		return -1;	}	p->end += n;	return n;}
8520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8520/4d0adbe863e89c884e02eaa250e875a1f30ae180/core.c/buggy/src/core.c