[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24565 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24565 - gnunet/src/util |
Date: |
Fri, 26 Oct 2012 17:08:22 +0200 |
Author: wachs
Date: 2012-10-26 17:08:22 +0200 (Fri, 26 Oct 2012)
New Revision: 24565
Modified:
gnunet/src/util/strings.c
Log:
memory leak: is const
Modified: gnunet/src/util/strings.c
===================================================================
--- gnunet/src/util/strings.c 2012-10-26 14:33:59 UTC (rev 24564)
+++ gnunet/src/util/strings.c 2012-10-26 15:08:22 UTC (rev 24565)
@@ -688,11 +688,11 @@
struct tm *tp;
if (t.abs_value == GNUNET_TIME_UNIT_FOREVER_ABS.abs_value)
- return GNUNET_strdup (_("end of time"));
+ return _("end of time");
tt = t.abs_value / 1000;
tp = gmtime (&tt);
strftime (buf, sizeof (buf), "%a %b %d %H:%M:%S %Y", tp);
- return GNUNET_strdup (buf);
+ return buf;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24565 - gnunet/src/util,
gnunet <=