diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-16 11:27:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-16 11:27:08 +0000 |
commit | f736b24935d66733e9a53798fbc87dbc8aff9fca (patch) | |
tree | b7f865216ca4b40a4a6e4535dfa6677700a27efc /src/statistics | |
parent | c5784d2c94adcf1fe80e88c9ab1c152ce2fcbe95 (diff) | |
download | gnunet-f736b24935d66733e9a53798fbc87dbc8aff9fca.tar.gz gnunet-f736b24935d66733e9a53798fbc87dbc8aff9fca.zip |
-fixing #2546
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/gnunet-statistics.c | 4 |
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 | { |