diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-04-24 21:19:40 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-04-24 21:19:40 +0000 |
commit | 4c8155fa9c85c7ece92182d0ab53f99a982a4abf (patch) | |
tree | 06e5e994d44d263fafff1b41826045cb709df8ad /prioq.c | |
parent | 128ea7fd4f9bb48a6ae51fe3f53e661b5399a1e6 (diff) |
* improve dns.c testing program
* fix some compiler warnings
* correct flx_dns_packet_append_name()
* fix host name string
* fix use of flx_domain_equal() use
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@30 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'prioq.c')
-rw-r--r-- | prioq.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -45,7 +45,7 @@ static flxPrioQueueNode* get_node_at_xy(flxPrioQueue *q, guint x, guint y) { } static void exchange_nodes(flxPrioQueue *q, flxPrioQueueNode *a, flxPrioQueueNode *b) { - flxPrioQueueNode *l, *r, *p, *ap, *an, *bp, *bn, *apl, *bpl; + flxPrioQueueNode *l, *r, *p, *ap, *an, *bp, *bn; gint t; g_assert(q); g_assert(a); @@ -128,6 +128,8 @@ static void exchange_nodes(flxPrioQueue *q, flxPrioQueueNode *a, flxPrioQueueNod b->left->parent = b; } } else { + flxPrioQueueNode *apl = NULL, *bpl = NULL; + /* Swap parents */ ap = a->parent; bp = b->parent; |