aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-10-27 12:38:51 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-10-27 12:38:51 +0000
commit8a52fcaa55bc547321ef779c6e9bb1672dd83585 (patch)
treed818553fd22633d804a769db9e565718b977fc53 /src/util/time.c
parentabcc76b4f868ce6e8e8ff4b058c800ad1119474a (diff)
downloadgnunet-8a52fcaa55bc547321ef779c6e9bb1672dd83585.tar.gz
gnunet-8a52fcaa55bc547321ef779c6e9bb1672dd83585.zip
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 0ab947b93..e1440f260 100644
--- a/src/util/time.c
+++ b/src/util/time.c
@@ -455,7 +455,7 @@ struct GNUNET_TIME_AbsoluteNBO
455GNUNET_TIME_absolute_hton (struct GNUNET_TIME_Absolute a) 455GNUNET_TIME_absolute_hton (struct GNUNET_TIME_Absolute a)
456{ 456{
457 struct GNUNET_TIME_AbsoluteNBO ret; 457 struct GNUNET_TIME_AbsoluteNBO ret;
458 ret.value__ = GNUNET_htonll (a.abs_value); 458 ret.abs_value__ = GNUNET_htonll (a.abs_value);
459 return ret; 459 return ret;
460} 460}
461 461
@@ -469,7 +469,7 @@ struct GNUNET_TIME_Absolute
469GNUNET_TIME_absolute_ntoh (struct GNUNET_TIME_AbsoluteNBO a) 469GNUNET_TIME_absolute_ntoh (struct GNUNET_TIME_AbsoluteNBO a)
470{ 470{
471 struct GNUNET_TIME_Absolute ret; 471 struct GNUNET_TIME_Absolute ret;
472 ret.abs_value = GNUNET_ntohll (a.value__); 472 ret.abs_value = GNUNET_ntohll (a.abs_value__);
473 return ret; 473 return ret;
474 474
475} 475}