diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-19 08:53:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-19 08:53:46 +0000 |
commit | ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (patch) | |
tree | 50664649cca13e5462dadea8c9bcde81c59e07ef /src/util/test_server_with_client.c | |
parent | 75297c57a857d0c7c1428bed00e32ed2c8b5389d (diff) | |
download | gnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.tar.gz gnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.zip |
-removing 2nd argument from GNUNET_CLIENT_disconnect as it was virtually always GNUNET_NO --- and all other uses indicate design problems
Diffstat (limited to 'src/util/test_server_with_client.c')
-rw-r--r-- | src/util/test_server_with_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_server_with_client.c b/src/util/test_server_with_client.c index 06a4b71d6..ad56071fa 100644 --- a/src/util/test_server_with_client.c +++ b/src/util/test_server_with_client.c | |||
@@ -89,7 +89,7 @@ recv_cb (void *cls, struct GNUNET_SERVER_Client *argclient, | |||
89 | break; | 89 | break; |
90 | case 4: | 90 | case 4: |
91 | ok++; | 91 | ok++; |
92 | GNUNET_CLIENT_disconnect (client, GNUNET_YES); | 92 | GNUNET_CLIENT_disconnect (client); |
93 | GNUNET_SERVER_receive_done (argclient, GNUNET_OK); | 93 | GNUNET_SERVER_receive_done (argclient, GNUNET_OK); |
94 | break; | 94 | break; |
95 | default: | 95 | default: |