Refactoring gnunet _time
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 27 Oct 2010 09:51:48 +0000 (09:51 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 27 Oct 2010 09:51:48 +0000 (09:51 +0000)
src/nat/upnp-discover.c
src/nat/upnp-reply-parse.c

index 5c64d161d6c1ad0eaefab4a59b2c91a48142a4a7..ba9594462ed3969c5e5ff32df64cecc5839971ce 100644 (file)
@@ -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",
                        _
index 398cde83428a0dab1dd5253df10b9a9d036d4a66..64d84de650c368f0e4667d6d13990c6064f591ff 100644 (file)
@@ -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);