gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: RPS test/profiler: Check su


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RPS test/profiler: Check success of opening file
Date: Wed, 28 Nov 2018 10:56:11 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 79c72a891 RPS test/profiler: Check success of opening file
79c72a891 is described below

commit 79c72a89102dac1c91f209234e87b8fe8968b74a
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Nov 28 10:53:00 2018 +0100

    RPS test/profiler: Check success of opening file
---
 src/rps/rps-test_util.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c
index d0d195229..4383c7149 100644
--- a/src/rps/rps-test_util.c
+++ b/src/rps/rps-test_util.c
@@ -92,6 +92,13 @@ get_file_handle (const char *name)
                                 GNUNET_DISK_PERM_USER_READ |
                                 GNUNET_DISK_PERM_USER_WRITE |
                                 GNUNET_DISK_PERM_GROUP_READ);
+    if (NULL == fh)
+    {
+      LOG (GNUNET_ERROR_TYPE_ERROR,
+           "Openning file `%s' failed.\n",
+           name);
+      GNUNET_assert (0);
+    }
     GNUNET_CONTAINER_multihashmap_put (open_files,
                                        &hash,
                                        fh,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]