aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_strings.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-10-27 09:21:14 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-10-27 09:21:14 +0000
commit71f77f1be3d6e2da1b88fe4a4fdd44c3c69b5325 (patch)
tree5570130fdab90ad02f4b5bfda414d13161f0f3d1 /src/util/test_strings.c
parent1d7368a52af332af35ec6de22affef4f5f0c1da4 (diff)
downloadgnunet-71f77f1be3d6e2da1b88fe4a4fdd44c3c69b5325.tar.gz
gnunet-71f77f1be3d6e2da1b88fe4a4fdd44c3c69b5325.zip
Changed GNUNET_TIME_Absolute and GNUNET_TIME_Relative to allow safe comparisons between time values
Diffstat (limited to 'src/util/test_strings.c')
-rw-r--r--src/util/test_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_strings.c b/src/util/test_strings.c
index c34c180fa..a1614b487 100644
--- a/src/util/test_strings.c
+++ b/src/util/test_strings.c
@@ -89,7 +89,7 @@ check ()
89 WANT ("btx", b); 89 WANT ("btx", b);
90 if (0 != GNUNET_STRINGS_buffer_tokenize (buf, 2, 2, &r, &b)) 90 if (0 != GNUNET_STRINGS_buffer_tokenize (buf, 2, 2, &r, &b))
91 return 1; 91 return 1;
92 at.value = 5000; 92 at.abs_value = 5000;
93 r = GNUNET_STRINGS_absolute_time_to_string (at); 93 r = GNUNET_STRINGS_absolute_time_to_string (at);
94 /* r should be something like "Wed Dec 31 17:00:05 1969" 94 /* r should be something like "Wed Dec 31 17:00:05 1969"
95 where the details of the day and hour depend on the timezone; 95 where the details of the day and hour depend on the timezone;