- at.value = 5000;
- r = GNUNET_STRINGS_absolute_time_to_string (at);
- /* r should be something like "Wed Dec 31 17:00:05 1969"
- where the details of the day and hour depend on the timezone;
- however, the "0:05 19" should always be there; hence: */
- if (NULL == strstr (r, "0:05 19"))
- {
- fprintf (stderr, "Got %s\n", r);
- GNUNET_break (0);
- GNUNET_free (r);
- return 1;
- }
- GNUNET_free (r);
+ at.abs_value = 5000;
+ bc = GNUNET_STRINGS_absolute_time_to_string (at);
+ /* bc should be something like "Wed Dec 31 17:00:05 1969"
+ * where the details of the day and hour depend on the timezone;
+ * however, the "0:05 19" should always be there; hence: */
+ if (NULL == strstr (bc, "0:05 19"))
+ {
+ FPRINTF (stderr, "Got %s\n", bc);
+ GNUNET_break (0);
+ return 1;
+ }