From 264418eb0fd7188e5355d72123d186958dc96290 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Wed, 20 Feb 2019 20:59:50 +0100 Subject: RPS test util: Improve logging --- src/rps/rps-test_util.c | 3 +++ 1 file changed, 3 insertions(+) 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) { open_files = GNUNET_CONTAINER_multihashmap_create (16, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY); + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Created map of open files.\n"); } GNUNET_CRYPTO_hash (name, strnlen (name, @@ -491,6 +493,7 @@ static int ensure_folder_exist (void) } if (GNUNET_YES != GNUNET_DISK_directory_test ("/tmp/rps/", GNUNET_NO)) { + LOG (GNUNET_ERROR_TYPE_ERROR, "Could not create directory `/tmp/rps'\n"); return GNUNET_SYSERR; } return GNUNET_YES; -- cgit v1.2.3