From 80268b203c8e5f8899accbe0d160d3af5ea042c3 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 5 Nov 2014 06:32:43 +0100 Subject: [PATCH] miniupnpc/upnpreplyparse.c: Fix compiling with DEBUG DEBUG only enabled code was forgotten in commit a80c87fb8dc926635f634d64c255e5244497b551 --- miniupnpc/upnpreplyparse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/miniupnpc/upnpreplyparse.c b/miniupnpc/upnpreplyparse.c index cb5e9f5..513f83b 100644 --- a/miniupnpc/upnpreplyparse.c +++ b/miniupnpc/upnpreplyparse.c @@ -1,7 +1,7 @@ -/* $Id: upnpreplyparse.c,v 1.16 2014/10/27 16:33:19 nanard Exp $ */ +/* $Id: upnpreplyparse.c,v 1.17 2014/11/04 22:25:48 nanard Exp $ */ /* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ - * (c) 2006-2013 Thomas Bernard + * (c) 2006-2014 Thomas Bernard * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */ @@ -172,9 +172,9 @@ DisplayNameValueList(char * buffer, int bufsize) struct NameValueParserData pdata; struct NameValue * nv; ParseNameValue(buffer, bufsize, &pdata); - for(nv = pdata.head.lh_first; + for(nv = pdata.l_head; nv != NULL; - nv = nv->entries.le_next) + nv = nv->l_next) { printf("%s = %s\n", nv->name, nv->value); }