[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: - fix coverity cid 467137
From: |
gnunet |
Subject: |
[gnunet] branch master updated: - fix coverity cid 467137 |
Date: |
Wed, 01 Nov 2023 11:32:40 +0100 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 38d996af7 - fix coverity cid 467137
38d996af7 is described below
commit 38d996af70c34bfe664874376eb0626311e35c11
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Wed Nov 1 11:32:20 2023 +0100
- fix coverity cid 467137
---
src/service/peerstore/peerstore_api.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/service/peerstore/peerstore_api.c
b/src/service/peerstore/peerstore_api.c
index e627e1e82..aee3ee1d9 100644
--- a/src/service/peerstore/peerstore_api.c
+++ b/src/service/peerstore/peerstore_api.c
@@ -1208,10 +1208,10 @@ store_hello (struct GNUNET_PEERSTORE_StoreHelloContext
*huc,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"store_hello with expiration %s\n",
GNUNET_STRINGS_absolute_time_to_string (hello_exp));
- GNUNET_CONTAINER_multipeermap_put (huc->store_context_map,
- huc->pid,
- sc,
-
GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE);
+ GNUNET_assert (GNUNET_SYSERR != GNUNET_CONTAINER_multipeermap_put
(huc->store_context_map,
+ huc->pid,
+ sc,
+
GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE));
shu_cls->sc = sc;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: - fix coverity cid 467137,
gnunet <=