[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35602 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35602 - gnunet/src/cadet |
Date: |
Mon, 27 Apr 2015 21:14:47 +0200 |
Author: bartpolot
Date: 2015-04-27 21:14:47 +0200 (Mon, 27 Apr 2015)
New Revision: 35602
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- ignore unknown connections
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2015-04-27 19:14:45 UTC
(rev 35601)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2015-04-27 19:14:47 UTC
(rev 35602)
@@ -2311,6 +2311,10 @@
c = connection_get (cid);
fwd = check_message (&msg->header, expected_size, cid, c, peer, 0);
+ /* If something went wrong, discard message. */
+ if (GNUNET_SYSERR == fwd)
+ return GNUNET_OK;
+
/* Is this message for us? */
if (GCC_is_terminal (c, fwd))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35602 - gnunet/src/cadet,
gnunet <=