projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc74a9
)
RPS test util: Improve logging
author
Julius Bünger
<buenger@mytum.de>
Wed, 20 Feb 2019 19:59:50 +0000
(20:59 +0100)
committer
Julius Bünger
<buenger@mytum.de>
Wed, 20 Feb 2019 20:01:08 +0000
(21:01 +0100)
src/rps/rps-test_util.c
patch
|
blob
|
history
diff --git
a/src/rps/rps-test_util.c
b/src/rps/rps-test_util.c
index 227ff1a50c8f0451a4ccdcfa64e50a9735674c32..7e974ae8050c37f497b01a1138567e880eba99c9 100644
(file)
--- 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;