From: Julius Bünger Date: Wed, 20 Feb 2019 19:59:50 +0000 (+0100) Subject: RPS test util: Improve logging X-Git-Tag: v0.11.0~63^2~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=264418eb0fd7188e5355d72123d186958dc96290;p=oweals%2Fgnunet.git RPS test util: Improve logging --- 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;