summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-03-17 20:01:27 +0100
committerElias Summermatter <elias.summermatter@seccom.ch>2021-03-17 20:01:27 +0100
commitc4e97f3f77171eb93bd101e0d4550af441cb6d80 (patch)
treef8b896cf1a19f26f5df52af2fe4f896700142d83
parent2fb3e0153311a73ce33728843ea862f129feb762 (diff)
Fixed code in setu function
-rw-r--r--src/setu/gnunet-service-setu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index 540628afa..8ed012f13 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -1192,8 +1192,8 @@ send_ibf (struct Operation *op,
1 << ibf_order);
{
- char name[64] = { 0 };
- snprintf (name, sizeof(name), "# sent IBF (order %u)", ibf_order);
+ char name[64];
+ GNUNET_snprintf (name, sizeof(name), "# sent IBF (order %u)", ibf_order);
GNUNET_STATISTICS_update (_GSS_statistics, name, 1, GNUNET_NO);
}