diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-18 17:38:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-18 17:38:39 +0000 |
commit | e8882d4fcd826f2f4c3b8deff18f151e5522174c (patch) | |
tree | e3271371e56611f4f3131e36f5c6e7c5307ebcc3 /src/gns/gnunet-gns-proxy.c | |
parent | 9ccb273eee8769bc94ce576d29ee6e1fbbf18f8c (diff) | |
download | gnunet-e8882d4fcd826f2f4c3b8deff18f151e5522174c.tar.gz gnunet-e8882d4fcd826f2f4c3b8deff18f151e5522174c.zip |
-logging, bugfixes
Diffstat (limited to 'src/gns/gnunet-gns-proxy.c')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 567b6e593..f42bf9af4 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -1638,7 +1638,10 @@ kill_httpd (struct MhdHttpList *hd) | |||
1638 | GNUNET_free_non_null (hd->domain); | 1638 | GNUNET_free_non_null (hd->domain); |
1639 | MHD_stop_daemon (hd->daemon); | 1639 | MHD_stop_daemon (hd->daemon); |
1640 | if (GNUNET_SCHEDULER_NO_TASK != hd->httpd_task) | 1640 | if (GNUNET_SCHEDULER_NO_TASK != hd->httpd_task) |
1641 | { | ||
1641 | GNUNET_SCHEDULER_cancel (hd->httpd_task); | 1642 | GNUNET_SCHEDULER_cancel (hd->httpd_task); |
1643 | hd->httpd_task = GNUNET_SCHEDULER_NO_TASK; | ||
1644 | } | ||
1642 | GNUNET_free_non_null (hd->proxy_cert); | 1645 | GNUNET_free_non_null (hd->proxy_cert); |
1643 | if (hd == httpd) | 1646 | if (hd == httpd) |
1644 | httpd = NULL; | 1647 | httpd = NULL; |
@@ -1657,7 +1660,8 @@ kill_httpd_task (void *cls, | |||
1657 | const struct GNUNET_SCHEDULER_TaskContext *tc) | 1660 | const struct GNUNET_SCHEDULER_TaskContext *tc) |
1658 | { | 1661 | { |
1659 | struct MhdHttpList *hd = cls; | 1662 | struct MhdHttpList *hd = cls; |
1660 | 1663 | ||
1664 | hd->httpd_task = GNUNET_SCHEDULER_NO_TASK; | ||
1661 | kill_httpd (hd); | 1665 | kill_httpd (hd); |
1662 | } | 1666 | } |
1663 | 1667 | ||