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_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_client.c')
-rw-r--r-- | src/util/test_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_client.c b/src/util/test_client.c index f9d961ab6..92b9ed49f 100644 --- a/src/util/test_client.c +++ b/src/util/test_client.c | |||
@@ -109,7 +109,7 @@ recv_bounce (void *cls, const struct GNUNET_MessageHeader *got) | |||
109 | msg.type = htons (MY_TYPE); | 109 | msg.type = htons (MY_TYPE); |
110 | msg.size = htons (sizeof (struct GNUNET_MessageHeader)); | 110 | msg.size = htons (sizeof (struct GNUNET_MessageHeader)); |
111 | GNUNET_assert (0 == memcmp (got, &msg, sizeof (struct GNUNET_MessageHeader))); | 111 | GNUNET_assert (0 == memcmp (got, &msg, sizeof (struct GNUNET_MessageHeader))); |
112 | GNUNET_CLIENT_disconnect (client, GNUNET_YES); | 112 | GNUNET_CLIENT_disconnect (client); |
113 | client = NULL; | 113 | client = NULL; |
114 | GNUNET_SERVER_destroy (server); | 114 | GNUNET_SERVER_destroy (server); |
115 | server = NULL; | 115 | server = NULL; |