diff options
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 10 |
1 files 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) | |||
670 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if the client was dropped | 670 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if the client was dropped |
671 | */ | 671 | */ |
672 | static int | 672 | static int |
673 | service_client_mst_cb (void *cls, const struct GNUNET_MessageHeader *message) | 673 | service_client_mst_cb (void *cls, |
674 | const struct GNUNET_MessageHeader *message) | ||
674 | { | 675 | { |
675 | struct GNUNET_SERVICE_Client *client = cls; | 676 | struct GNUNET_SERVICE_Client *client = cls; |
676 | 677 | ||
@@ -703,10 +704,13 @@ static void | |||
703 | service_client_recv (void *cls) | 704 | service_client_recv (void *cls) |
704 | { | 705 | { |
705 | struct GNUNET_SERVICE_Client *client = cls; | 706 | struct GNUNET_SERVICE_Client *client = cls; |
706 | int ret; | 707 | enum GNUNET_GenericReturnValue ret; |
707 | 708 | ||
708 | client->recv_task = NULL; | 709 | client->recv_task = NULL; |
709 | ret = GNUNET_MST_read (client->mst, client->sock, GNUNET_NO, GNUNET_YES); | 710 | ret = GNUNET_MST_read (client->mst, |
711 | client->sock, | ||
712 | GNUNET_NO, | ||
713 | GNUNET_YES); | ||
710 | if (GNUNET_SYSERR == ret) | 714 | if (GNUNET_SYSERR == ret) |
711 | { | 715 | { |
712 | /* client closed connection (or IO error) */ | 716 | /* client closed connection (or IO error) */ |