aboutsummaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index d3e89b3a8..08d23e5ad 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -688,11 +688,11 @@ GNUNET_STRINGS_absolute_time_to_string (struct GNUNET_TIME_Absolute t)
688 struct tm *tp; 688 struct tm *tp;
689 689
690 if (t.abs_value == GNUNET_TIME_UNIT_FOREVER_ABS.abs_value) 690 if (t.abs_value == GNUNET_TIME_UNIT_FOREVER_ABS.abs_value)
691 return GNUNET_strdup (_("end of time")); 691 return _("end of time");
692 tt = t.abs_value / 1000; 692 tt = t.abs_value / 1000;
693 tp = gmtime (&tt); 693 tp = gmtime (&tt);
694 strftime (buf, sizeof (buf), "%a %b %d %H:%M:%S %Y", tp); 694 strftime (buf, sizeof (buf), "%a %b %d %H:%M:%S %Y", tp);
695 return GNUNET_strdup (buf); 695 return buf;
696} 696}
697 697
698 698