aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/gnunet-statistics.c')
-rw-r--r--src/statistics/gnunet-statistics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c
index 671fd35be..15dedaec1 100644
--- a/src/statistics/gnunet-statistics.c
+++ b/src/statistics/gnunet-statistics.c
@@ -79,7 +79,8 @@ printer (void *cls, const char *subsystem, const char *name, uint64_t value,
79 int is_persistent) 79 int is_persistent)
80{ 80{
81 struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get(); 81 struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get();
82 char * now_str; 82 const char * now_str;
83
83 if (quiet == GNUNET_NO) 84 if (quiet == GNUNET_NO)
84 { 85 {
85 if (GNUNET_YES == watch) 86 if (GNUNET_YES == watch)
@@ -89,7 +90,6 @@ printer (void *cls, const char *subsystem, const char *name, uint64_t value,
89 now_str, 90 now_str,
90 is_persistent ? "!" : " ", 91 is_persistent ? "!" : " ",
91 subsystem, _(name), (unsigned long long) value); 92 subsystem, _(name), (unsigned long long) value);
92 GNUNET_free (now_str);
93 } 93 }
94 else 94 else
95 { 95 {