From 46bb89619ef4ed0ed321f794564e1ca2d1c4411c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 27 Oct 2010 09:51:48 +0000 Subject: [PATCH] Refactoring gnunet _time --- src/nat/upnp-discover.c | 2 +- src/nat/upnp-reply-parse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nat/upnp-discover.c b/src/nat/upnp-discover.c index 5c64d161d..ba9594462 100644 --- a/src/nat/upnp-discover.c +++ b/src/nat/upnp-discover.c @@ -280,7 +280,7 @@ task_download (struct download_cls *cls, download_clean_up (cls); return; } - if (GNUNET_TIME_absolute_get_remaining (cls->end_time).value == 0) + if (GNUNET_TIME_absolute_get_remaining (cls->end_time).rel_value == 0) { GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "UPnP", _ diff --git a/src/nat/upnp-reply-parse.c b/src/nat/upnp-reply-parse.c index 398cde834..64d84de65 100644 --- a/src/nat/upnp-reply-parse.c +++ b/src/nat/upnp-reply-parse.c @@ -158,7 +158,7 @@ UPNP_REPLY_print_ (char *buffer, int buf_size) for (nv = pdata.head.lh_first; nv != NULL; nv = nv->entries.le_next) { GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "UPnP", - "%s = %s", nv->name, nv->value); + "%s = %s", nv->name, nv->abs_value); } UPNP_REPLY_free_ (&pdata); -- 2.25.1