[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 05/08: do not strictly require mq non-NULL, as pee
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 05/08: do not strictly require mq non-NULL, as peerinfo service might have died already |
Date: |
Tue, 19 Feb 2019 02:02:07 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 726ccfadfa7d0283339e429f6b5b6d03c5b488d0
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 19 01:57:19 2019 +0100
do not strictly require mq non-NULL, as peerinfo service might have died
already
---
src/peerinfo/peerinfo_api.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index f2af27c0b..4b56b34c7 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -11,7 +11,7 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -565,10 +565,7 @@ GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
struct GNUNET_PeerIdentity peer;
if (NULL == h->mq)
- {
- GNUNET_break (0);
return NULL;
- }
GNUNET_assert (GNUNET_OK ==
GNUNET_HELLO_get_id (hello,
&peer));
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (ff2452d55 -> 2caf34724), gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 03/08: do not use rps in consensus test, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 01/08: extra sanity check for #5582, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 02/08: unset XDG vars in test explicitly in case test is run by hand, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 04/08: fix possibility of NULL result for empty database, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 06/08: note about assertion actually failing, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 07/08: got integration tests to pass, fixes #5560, gnunet, 2019/02/18
- [GNUnet-SVN] [gnunet] 05/08: do not strictly require mq non-NULL, as peerinfo service might have died already,
gnunet <=
- [GNUnet-SVN] [gnunet] 08/08: update ignore file, gnunet, 2019/02/18