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/dns/dns_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/dns/dns_api.c')
-rw-r--r-- | src/dns/dns_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns/dns_api.c b/src/dns/dns_api.c index a280265da..e0069936d 100644 --- a/src/dns/dns_api.c +++ b/src/dns/dns_api.c | |||
@@ -202,7 +202,7 @@ disconnect (struct GNUNET_DNS_Handle *dh) | |||
202 | } | 202 | } |
203 | if (NULL != dh->dns_connection) | 203 | if (NULL != dh->dns_connection) |
204 | { | 204 | { |
205 | GNUNET_CLIENT_disconnect (dh->dns_connection, GNUNET_NO); | 205 | GNUNET_CLIENT_disconnect (dh->dns_connection); |
206 | dh->dns_connection = NULL; | 206 | dh->dns_connection = NULL; |
207 | } | 207 | } |
208 | while (NULL != (qe = dh->rq_head)) | 208 | while (NULL != (qe = dh->rq_head)) |