diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:51:48 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:51:48 +0000 |
commit | 46bb89619ef4ed0ed321f794564e1ca2d1c4411c (patch) | |
tree | 3b73caa5ef1d0a574f5ac7add6dbbb8c55e86a3a /src/nat | |
parent | 4fc6957210ad1baa9d267cdd2b37e4b2f5b96b2a (diff) | |
download | gnunet-46bb89619ef4ed0ed321f794564e1ca2d1c4411c.tar.gz gnunet-46bb89619ef4ed0ed321f794564e1ca2d1c4411c.zip |
Refactoring gnunet _time
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/upnp-discover.c | 2 | ||||
-rw-r--r-- | 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, | |||
280 | download_clean_up (cls); | 280 | download_clean_up (cls); |
281 | return; | 281 | return; |
282 | } | 282 | } |
283 | if (GNUNET_TIME_absolute_get_remaining (cls->end_time).value == 0) | 283 | if (GNUNET_TIME_absolute_get_remaining (cls->end_time).rel_value == 0) |
284 | { | 284 | { |
285 | GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "UPnP", | 285 | GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "UPnP", |
286 | _ | 286 | _ |
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) | |||
158 | for (nv = pdata.head.lh_first; nv != NULL; nv = nv->entries.le_next) | 158 | for (nv = pdata.head.lh_first; nv != NULL; nv = nv->entries.le_next) |
159 | { | 159 | { |
160 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "UPnP", | 160 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "UPnP", |
161 | "%s = %s", nv->name, nv->value); | 161 | "%s = %s", nv->name, nv->abs_value); |
162 | } | 162 | } |
163 | 163 | ||
164 | UPNP_REPLY_free_ (&pdata); | 164 | UPNP_REPLY_free_ (&pdata); |