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/transport/transport_api.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/transport/transport_api.c')
-rw-r--r-- | src/transport/transport_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index 9ff5cec88..e7f2327d9 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c | |||
@@ -940,7 +940,7 @@ disconnect_and_schedule_reconnect (struct GNUNET_TRANSPORT_Handle *h) | |||
940 | } | 940 | } |
941 | if (NULL != h->client) | 941 | if (NULL != h->client) |
942 | { | 942 | { |
943 | GNUNET_CLIENT_disconnect (h->client, GNUNET_YES); | 943 | GNUNET_CLIENT_disconnect (h->client); |
944 | h->client = NULL; | 944 | h->client = NULL; |
945 | } | 945 | } |
946 | /* Forget about all neighbours that we used to be connected to */ | 946 | /* Forget about all neighbours that we used to be connected to */ |