gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r21018 - in gnunet/src: include util


From: gnunet
Subject: [GNUnet-SVN] r21018 - in gnunet/src: include util
Date: Thu, 19 Apr 2012 10:38:42 +0200

Author: grothoff
Date: 2012-04-19 10:38:42 +0200 (Thu, 19 Apr 2012)
New Revision: 21018

Modified:
   gnunet/src/include/gnunet_server_lib.h
   gnunet/src/util/server.c
Log:
-removing dead API call

Modified: gnunet/src/include/gnunet_server_lib.h
===================================================================
--- gnunet/src/include/gnunet_server_lib.h      2012-04-19 07:53:08 UTC (rev 
21017)
+++ gnunet/src/include/gnunet_server_lib.h      2012-04-19 08:38:42 UTC (rev 
21018)
@@ -240,14 +240,6 @@
 
 
 /**
- * Set if a client should finish a pending write when disconnecting.
- */
-void
-GNUNET_SERVER_client_set_finish_pending_write (struct GNUNET_SERVER_Client 
*client,
-                                               int finish);
-
-
-/**
  * Disable the warning the server issues if a message is not acknowledged
  * in a timely fashion.  Use this call if a client is intentionally delayed
  * for a while.  Only applies to the current message.

Modified: gnunet/src/util/server.c
===================================================================
--- gnunet/src/util/server.c    2012-04-19 07:53:08 UTC (rev 21017)
+++ gnunet/src/util/server.c    2012-04-19 08:38:42 UTC (rev 21018)
@@ -1000,14 +1000,6 @@
 }
 
 
-void
-GNUNET_SERVER_client_set_finish_pending_write (struct GNUNET_SERVER_Client 
*client,
-                                               int finish)
-{
-  client->finish_pending_write = finish;
-}
-
-
 /**
  * Notify the server that the given client handle should
  * be kept (keeps the connection up if possible, increments
@@ -1202,7 +1194,7 @@
 
   if (client->persist == GNUNET_YES)
     GNUNET_CONNECTION_persist_ (client->connection);
-  GNUNET_CONNECTION_destroy (client->connection, client->finish_pending_write);
+  GNUNET_CONNECTION_destroy (client->connection, GNUNET_NO);
 
   if (client->server->mst_destroy != NULL)
     client->server->mst_destroy (client->server->mst_cls, client->mst);




reply via email to

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