diff th_network.c @ 152:b4e1b15a64e1

Rename qlist_t doubly linked list structure to th_llist_t.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Feb 2015 23:04:08 +0200
parents 9bc7f60f3013
children 778647cccb36
line wrap: on
line diff
--- a/th_network.c	Wed Jan 28 08:06:02 2015 +0200
+++ b/th_network.c	Fri Feb 06 23:04:08 2015 +0200
@@ -11,7 +11,7 @@
 
 
 static BOOL th_network_inited = FALSE;
-static qlist_t *th_conn_list = NULL;
+static th_llist_t *th_conn_list = NULL;
 
 
 enum
@@ -864,10 +864,10 @@
     if (th_network_inited)
     {
         // Close connections
-        qlist_t *curr = th_conn_list;
+        th_llist_t *curr = th_conn_list;
         while (curr != NULL)
         {
-            qlist_t *next = curr->next;
+            th_llist_t *next = curr->next;
             th_conn_free_nodelete(curr->data);
             curr = next;
         }