if (debug) log_d("D add_fd"); 
static int add_fd(struct request *r, const char *filename){	int fd;	struct stat s;	if (debug)		log_d("D add_fd");	if (filename == 0)		return -1;	if (get_mime(r, filename) == -1)		return -1;	fd = open(filename, O_RDONLY);	if (fd == -1)		return -1;	if (fstat(fd, &s) == -1) {		lerror("fstat");		close(fd);		return -1;	}	if (!S_ISREG(s.st_mode)) {		log_d("non-plain file %s", filename);		close(fd);		return -1;	}	fcntl(fd, F_SETFD, FD_CLOEXEC);	r->cn->rfd = fd;	r->content_length = s.st_size;	return 0;}
8520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8520/73eea113671ac83f15cdff47a38b67ab60af92b5/request.c/clean/src/request.c