gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: fix transport API fix, make


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix transport API fix, make sure we do not stay at CT_NONE for core clients
Date: Tue, 26 Feb 2019 15:44:44 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new bca0e0958 fix transport API fix, make sure we do not stay at CT_NONE 
for core clients
bca0e0958 is described below

commit bca0e0958f8c6ef951383ae86905cf430e156de0
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 26 15:44:30 2019 +0100

    fix transport API fix, make sure we do not stay at CT_NONE for core clients
---
 src/transport/gnunet-service-transport.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/transport/gnunet-service-transport.c 
b/src/transport/gnunet-service-transport.c
index c5fce94a7..e1dfbae0f 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -113,7 +113,12 @@ enum ClientType
   /**
    * It is a blacklist, query about allowed connections.
    */
-  CT_BLACKLIST = 3
+  CT_BLACKLIST = 3,
+
+  /**
+   * CORE client without any handlers.
+   */
+  CT_CORE_NO_HANDLERS = 4
 };
 
 
@@ -570,6 +575,8 @@ client_disconnect_cb (void *cls,
                                             bc);
     }
     break;
+  case CT_CORE_NO_HANDLERS:
+    break;
   }
   GNUNET_free (tc);
 }
@@ -650,6 +657,8 @@ handle_client_start (void *cls,
   }
   if (0 != (2 & options))
     tc->type = CT_CORE;
+  else
+    tc->type = CT_CORE_NO_HANDLERS;
   hello = GST_hello_get ();
   if (NULL != hello)
     unicast (tc,

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



reply via email to

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