summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_sampler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.c')
-rw-r--r--src/rps/gnunet-service-rps_sampler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.c b/src/rps/gnunet-service-rps_sampler.c
index 9629a29a1..dcfef19c6 100644
--- a/src/rps/gnunet-service-rps_sampler.c
+++ b/src/rps/gnunet-service-rps_sampler.c
@@ -204,6 +204,7 @@ RPS_sampler_init (size_t init_size,
#ifdef TO_FILE
sampler->file_name = create_file ("sampler-");
+ GNUNET_assert (NULL != sampler->file_name);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Initialised sampler %s\n",