[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/04: RPS test util: Improve logging
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/04: RPS test util: Improve logging |
Date: |
Wed, 20 Feb 2019 21:11:48 +0100 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
commit 264418eb0fd7188e5355d72123d186958dc96290
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Feb 20 20:59:50 2019 +0100
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;
--
To stop receiving notification emails like this one, please contact
address@hidden