rc/utils_llist.c: Fix a bug in llist_prepend.
authorLuke Heberling <collectd@c-ware.com>
Thu, 13 Dec 2007 07:06:26 +0000 (08:06 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 13 Dec 2007 07:06:26 +0000 (08:06 +0100)
commit65cbd6ca1da0d802ac39b460dcb8ae0af3762c13
tree8e430cd94d3926739e0aa8768e6b79e97451ace0
parenteb0ca66c4f3d66c58105635876d958a43499f5e3
rc/utils_llist.c: Fix a bug in llist_prepend.

Copy the element to the tail if it's the first element.
src/utils_llist.c