fixed improper TAILQ fix which caused pluto to segfault
This commit is contained in:
1 parent
619998b3ac
commit
ea36a1f159
1 file changed
+1
-1
+1
-1
@@ -95,7 +95,7 @@ void
|
|||||||
close_peerlog(void)
|
close_peerlog(void)
|
||||||
{
|
{
|
||||||
/* exit if the queue has not been initialized */
|
/* exit if the queue has not been initialized */
|
||||||
if (perpeer_list.tqh_last == NULL)
|
if (perpeer_list.tqh_first == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* end of queue is given by pointer to "HEAD" */
|
/* end of queue is given by pointer to "HEAD" */
|
||||||
|
|||||||
Reference in new issue
Block a user