aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-10-27 11:41:46 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-10-27 11:41:46 +0000
commitabcc76b4f868ce6e8e8ff4b058c800ad1119474a (patch)
tree75da9807f86c1ba6deba9cf0ff8313b1f241e4f3 /src/util/time.c
parent666e63629635d497f469a14a5109575c5e38cf01 (diff)
downloadgnunet-abcc76b4f868ce6e8e8ff4b058c800ad1119474a.tar.gz
gnunet-abcc76b4f868ce6e8e8ff4b058c800ad1119474a.zip
Changed struct GNUNET_TIME_RelativeNBO
Diffstat (limited to 'src/util/time.c')
-rw-r--r--src/util/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/time.c b/src/util/time.c
index d2e25d059..0ab947b93 100644
--- a/src/util/time.c
+++ b/src/util/time.c
@@ -426,7 +426,7 @@ struct GNUNET_TIME_RelativeNBO
426GNUNET_TIME_relative_hton (struct GNUNET_TIME_Relative a) 426GNUNET_TIME_relative_hton (struct GNUNET_TIME_Relative a)
427{ 427{
428 struct GNUNET_TIME_RelativeNBO ret; 428 struct GNUNET_TIME_RelativeNBO ret;
429 ret.value__ = GNUNET_htonll (a.rel_value); 429 ret.rel_value__ = GNUNET_htonll (a.rel_value);
430 return ret; 430 return ret;
431} 431}
432 432
@@ -440,7 +440,7 @@ struct GNUNET_TIME_Relative
440GNUNET_TIME_relative_ntoh (struct GNUNET_TIME_RelativeNBO a) 440GNUNET_TIME_relative_ntoh (struct GNUNET_TIME_RelativeNBO a)
441{ 441{
442 struct GNUNET_TIME_Relative ret; 442 struct GNUNET_TIME_Relative ret;
443 ret.rel_value = GNUNET_ntohll (a.value__); 443 ret.rel_value = GNUNET_ntohll (a.rel_value__);
444 return ret; 444 return ret;
445 445
446} 446}