[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27423 - gnunet/src/statistics
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27423 - gnunet/src/statistics |
Date: |
Wed, 12 Jun 2013 12:42:30 +0200 |
Author: grothoff
Date: 2013-06-12 12:42:30 +0200 (Wed, 12 Jun 2013)
New Revision: 27423
Modified:
gnunet/src/statistics/gnunet-service-statistics.c
Log:
-keep and drop are not needed here as we watch for disconnects
Modified: gnunet/src/statistics/gnunet-service-statistics.c
===================================================================
--- gnunet/src/statistics/gnunet-service-statistics.c 2013-06-12 10:41:19 UTC
(rev 27422)
+++ gnunet/src/statistics/gnunet-service-statistics.c 2013-06-12 10:42:30 UTC
(rev 27423)
@@ -411,7 +411,6 @@
}
ce = GNUNET_malloc (sizeof (struct ClientEntry));
ce->client = client;
- GNUNET_SERVER_client_keep (client);
GNUNET_CONTAINER_DLL_insert (client_head, client_tail, ce);
GNUNET_SERVER_notification_context_add (nc, client);
return ce;
@@ -706,7 +705,6 @@
we = GNUNET_malloc (sizeof (struct WatchEntry));
we->client = client;
we->last_value_set = GNUNET_NO;
- GNUNET_SERVER_client_keep (client);
we->wid = ce->max_wid++;
GNUNET_CONTAINER_DLL_insert (pos->we_head, pos->we_tail, we);
if (pos->value != 0)
@@ -735,7 +733,6 @@
start = se->next;
while (NULL != (we = se->we_head))
{
- GNUNET_SERVER_client_drop (we->client);
GNUNET_CONTAINER_DLL_remove (se->we_head, se->we_tail, we);
GNUNET_free (we);
}
@@ -779,7 +776,6 @@
{
if (ce->client == client)
{
- GNUNET_SERVER_client_drop (ce->client);
GNUNET_CONTAINER_DLL_remove (client_head, client_tail, ce);
GNUNET_free (ce);
break;
@@ -795,7 +791,6 @@
wen = we->next;
if (we->client != client)
continue;
- GNUNET_SERVER_client_drop (we->client);
GNUNET_CONTAINER_DLL_remove (se->we_head, se->we_tail, we);
GNUNET_free (we);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27423 - gnunet/src/statistics,
gnunet <=