commit d17d833dfd93a81f3540d472d1be4dfb7e9cbd03
parent d538d98c19a58a4f0ab55826a873f1fd86fa5372
Author: Julius Bünger <buenger@mytum.de>
Date: Sun, 19 Mar 2017 01:10:02 +0100
fix initialisation of zero_pid
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rps/gnunet-rps.c b/src/rps/gnunet-rps.c
@@ -103,7 +103,7 @@ run (void *cls,
const struct GNUNET_CONFIGURATION_Handle *cfg)
{
static uint64_t num_peers;
- struct GNUNET_PeerIdentity zero_pid;
+ static struct GNUNET_PeerIdentity zero_pid;
rps_handle = GNUNET_RPS_connect (cfg);