diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-19 10:51:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-19 10:51:26 +0000 |
commit | 92b983e311c77322914cc6164bc8d24f0eaffdf4 (patch) | |
tree | baa1457d8a2830088f545249a82c72c8cd39ecc1 /src/util/connection.c | |
parent | ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (diff) | |
download | gnunet-92b983e311c77322914cc6164bc8d24f0eaffdf4.tar.gz gnunet-92b983e311c77322914cc6164bc8d24f0eaffdf4.zip |
-removing obsolete argument from GNUNET_CONNECTION_destroy
Diffstat (limited to 'src/util/connection.c')
-rw-r--r-- | src/util/connection.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/util/connection.c b/src/util/connection.c index 6908144b7..2953d9ca7 100644 --- a/src/util/connection.c +++ b/src/util/connection.c | |||
@@ -1019,15 +1019,11 @@ GNUNET_CONNECTION_check (struct GNUNET_CONNECTION_Handle *sock) | |||
1019 | * should be called explicitly first. | 1019 | * should be called explicitly first. |
1020 | * | 1020 | * |
1021 | * @param sock socket to destroy | 1021 | * @param sock socket to destroy |
1022 | * @param finish_pending_write should pending writes be completed or aborted? | ||
1023 | * (this applies to transmissions where the data has already been | ||
1024 | * read from the application; all other transmissions should be | ||
1025 | * aborted using 'GNUNET_CONNECTION_notify_transmit_ready_cancel'). | ||
1026 | */ | 1022 | */ |
1027 | void | 1023 | void |
1028 | GNUNET_CONNECTION_destroy (struct GNUNET_CONNECTION_Handle *sock, | 1024 | GNUNET_CONNECTION_destroy (struct GNUNET_CONNECTION_Handle *sock) |
1029 | int finish_pending_write) | ||
1030 | { | 1025 | { |
1026 | int finish_pending_write = GNUNET_NO; | ||
1031 | if (GNUNET_NO == finish_pending_write) | 1027 | if (GNUNET_NO == finish_pending_write) |
1032 | { | 1028 | { |
1033 | if (sock->write_task != GNUNET_SCHEDULER_NO_TASK) | 1029 | if (sock->write_task != GNUNET_SCHEDULER_NO_TASK) |