Commit 9b0f4913 authored by Cedric Roux's avatar Cedric Roux

dirty bug...

parent 0fe08538
......@@ -151,6 +151,7 @@ void forward(void *_forwarder, char *buf, int size)
new->l = size;
new->next = NULL;
if (f->head == NULL) f->head = new;
if (f->tail != NULL) f->tail->next = new;
f->tail = new;
if (pthread_cond_signal(&f->datacond)) abort();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment