Revision 3af4c8d7 src/periodic_task_intfs.c

View differences:

src/periodic_task_intfs.c
155 155

  
156 156
	return 0;
157 157
}
158

  
159
uint8_t pstreamer_inject_task_callback(struct periodic_task * pt, int ret, fd_set * readfds, fd_set * writefds, fd_set * errfds)
160
{
161
	struct psinstance * ps;
162
	ps = (struct psinstance *) periodic_task_get_data(pt);
163
	if (ret == 0)
164
	{
165
		debug("Chunk seeding time\n");
166
		psinstance_inject_chunk(ps);
167
	}
168
	return 0;
169
}

Also available in: Unified diff