diff options
author | Julius Bünger <buenger@mytum.de> | 2019-02-20 20:59:50 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-02-20 21:01:08 +0100 |
commit | 264418eb0fd7188e5355d72123d186958dc96290 (patch) | |
tree | 8d66dfd6241e41d21e8c4bb1b631c56cc8668e4d /src/rps | |
parent | afc74a94867c2e272f4abb39beed2a0a3f7961fd (diff) | |
download | gnunet-264418eb0fd7188e5355d72123d186958dc96290.tar.gz gnunet-264418eb0fd7188e5355d72123d186958dc96290.zip |
RPS test util: Improve logging
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/rps-test_util.c | 3 |
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; |