aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 19:36:30 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 19:36:30 +0000
commit879fe24200b5e0e451dbc4f8fa76cf240d0b7eec (patch)
tree537104278f797ac992bebab0ad07141bd9cd790b /src/util
parent353e880bc1664d360a9c7f15e50fbd17712cae66 (diff)
downloadgnunet-879fe24200b5e0e451dbc4f8fa76cf240d0b7eec.tar.gz
gnunet-879fe24200b5e0e451dbc4f8fa76cf240d0b7eec.zip
-fix shutdown of server
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c
index fc96db802..5a2eee28d 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -1221,6 +1221,8 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client)
1221 1221
1222 if (client->persist == GNUNET_YES) 1222 if (client->persist == GNUNET_YES)
1223 GNUNET_CONNECTION_persist_ (client->connection); 1223 GNUNET_CONNECTION_persist_ (client->connection);
1224 if (NULL != client->th.cth)
1225 GNUNET_SERVER_notify_transmit_ready_cancel (&client->th);
1224 GNUNET_CONNECTION_destroy (client->connection); 1226 GNUNET_CONNECTION_destroy (client->connection);
1225 1227
1226 if (client->server->mst_destroy != NULL) 1228 if (client->server->mst_destroy != NULL)