[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -use better types
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -use better types |
Date: |
Mon, 06 Dec 2021 09:15:26 +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 cb5d226e8 -use better types
cb5d226e8 is described below
commit cb5d226e8618be53f7e14aa7d9c9b2dab4d50bba
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 6 09:15:19 2021 +0100
-use better types
---
src/util/service.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/util/service.c b/src/util/service.c
index df4feb0ec..c48060437 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -670,7 +670,8 @@ warn_no_client_continue (void *cls)
* @return #GNUNET_OK on success, #GNUNET_SYSERR if the client was dropped
*/
static int
-service_client_mst_cb (void *cls, const struct GNUNET_MessageHeader *message)
+service_client_mst_cb (void *cls,
+ const struct GNUNET_MessageHeader *message)
{
struct GNUNET_SERVICE_Client *client = cls;
@@ -703,10 +704,13 @@ static void
service_client_recv (void *cls)
{
struct GNUNET_SERVICE_Client *client = cls;
- int ret;
+ enum GNUNET_GenericReturnValue ret;
client->recv_task = NULL;
- ret = GNUNET_MST_read (client->mst, client->sock, GNUNET_NO, GNUNET_YES);
+ ret = GNUNET_MST_read (client->mst,
+ client->sock,
+ GNUNET_NO,
+ GNUNET_YES);
if (GNUNET_SYSERR == ret)
{
/* client closed connection (or IO error) */
--
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: -use better types,
gnunet <=