aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps-test_util.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2019-02-20 20:59:50 +0100
committerJulius Bünger <buenger@mytum.de>2019-02-20 21:01:08 +0100
commit264418eb0fd7188e5355d72123d186958dc96290 (patch)
tree8d66dfd6241e41d21e8c4bb1b631c56cc8668e4d /src/rps/rps-test_util.c
parentafc74a94867c2e272f4abb39beed2a0a3f7961fd (diff)
downloadgnunet-264418eb0fd7188e5355d72123d186958dc96290.tar.gz
gnunet-264418eb0fd7188e5355d72123d186958dc96290.zip
RPS test util: Improve logging
Diffstat (limited to 'src/rps/rps-test_util.c')
-rw-r--r--src/rps/rps-test_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c
index 227ff1a50..7e974ae80 100644
--- a/src/rps/rps-test_util.c
+++ b/src/rps/rps-test_util.c
@@ -81,6 +81,8 @@ get_file_handle (const char *name)
81 { 81 {
82 open_files = GNUNET_CONTAINER_multihashmap_create (16, 82 open_files = GNUNET_CONTAINER_multihashmap_create (16,
83 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY); 83 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
84 LOG (GNUNET_ERROR_TYPE_DEBUG,
85 "Created map of open files.\n");
84 } 86 }
85 GNUNET_CRYPTO_hash (name, 87 GNUNET_CRYPTO_hash (name,
86 strnlen (name, 88 strnlen (name,
@@ -491,6 +493,7 @@ static int ensure_folder_exist (void)
491 } 493 }
492 if (GNUNET_YES != GNUNET_DISK_directory_test ("/tmp/rps/", GNUNET_NO)) 494 if (GNUNET_YES != GNUNET_DISK_directory_test ("/tmp/rps/", GNUNET_NO))
493 { 495 {
496 LOG (GNUNET_ERROR_TYPE_ERROR, "Could not create directory `/tmp/rps'\n");
494 return GNUNET_SYSERR; 497 return GNUNET_SYSERR;
495 } 498 }
496 return GNUNET_YES; 499 return GNUNET_YES;