View | Details | Raw Unified | Return to bug 154954
Collapse All | Expand All

(-)contrib/csup/fixups.c (-1 / +1 lines)
Lines 141-147 fixups_get(struct fixups *f) Link Here
141
	fixups_lock(f);
141
	fixups_lock(f);
142
	while (f->size == 0 && !f->closed)
142
	while (f->size == 0 && !f->closed)
143
		pthread_cond_wait(&f->cond, &f->lock);
143
		pthread_cond_wait(&f->cond, &f->lock);
144
	if (f->closed) {
144
	if (f->size == 0) {
145
		fixups_unlock(f);
145
		fixups_unlock(f);
146
		return (NULL);
146
		return (NULL);
147
	}
147
	}

Return to bug 154954