|
|
@ -35,6 +35,9 @@ TR_queueDelete(TR_Queue this, void * msg) |
|
|
if (node == this->last) { |
|
|
if (node == this->last) { |
|
|
this->last = parent; |
|
|
this->last = parent; |
|
|
} |
|
|
} |
|
|
|
|
|
if (node == this->first) { |
|
|
|
|
|
this->first = node->next; |
|
|
|
|
|
} |
|
|
TR_delete(node); |
|
|
TR_delete(node); |
|
|
this->nmsg--; |
|
|
this->nmsg--; |
|
|
} |
|
|
} |
|
|
|