diff options
Diffstat (limited to 'src/util/time.c')
-rw-r--r-- | src/util/time.c | 4 |
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 | |||
426 | GNUNET_TIME_relative_hton (struct GNUNET_TIME_Relative a) | 426 | GNUNET_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 | |||
440 | GNUNET_TIME_relative_ntoh (struct GNUNET_TIME_RelativeNBO a) | 440 | GNUNET_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 | } |