diff th_config.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 434c0eae87c9
children 23a79bd6c9d6
line wrap: on
line diff
--- a/th_config.c	Wed Jan 28 08:06:02 2015 +0200
+++ b/th_config.c	Fri Feb 06 23:04:08 2015 +0200
@@ -182,7 +182,7 @@
 }
 
 
-int th_cfg_add_string_list(th_cfgitem_t **cfg, const char *name, qlist_t **data)
+int th_cfg_add_string_list(th_cfgitem_t **cfg, const char *name, th_llist_t **data)
 {
     th_cfgitem_t *node;
 
@@ -741,7 +741,7 @@
                 }
                 else
                 {
-                    qlist_t *node = *(item->v.list);
+                    th_llist_t *node = *(item->v.list);
                     size_t n = th_llist_length(node);
                     if (fprintf(ctx->fp, "%s = ", item->name) < 0)
                         return -3;