aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_info.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-16 07:13:34 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-16 07:13:34 +0100
commite101aeb4a9e18d506bd93afc87ea55183128f2cd (patch)
treed1d53999712b238dfa6cd3d2ddbaf42d74b51c04 /src/lib/daemon_info.c
parenta104a2a46a8d3ef1787f7171295af3acc63c4912 (diff)
downloadlibmicrohttpd-e101aeb4a9e18d506bd93afc87ea55183128f2cd.tar.gz
libmicrohttpd-e101aeb4a9e18d506bd93afc87ea55183128f2cd.zip
implement connection_cleanup.c
Diffstat (limited to 'src/lib/daemon_info.c')
-rw-r--r--src/lib/daemon_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/daemon_info.c b/src/lib/daemon_info.c
index 770f74b9..37208da3 100644
--- a/src/lib/daemon_info.c
+++ b/src/lib/daemon_info.c
@@ -23,6 +23,7 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25#include "internal.h" 25#include "internal.h"
26#include "connection_cleanup.h"
26 27
27 28
28/** 29/**
@@ -69,7 +70,7 @@ MHD_daemon_get_information_sz (struct MHD_Daemon *daemon,
69 { 70 {
70 /* Assumes that MHD_run() in not called in other thread 71 /* Assumes that MHD_run() in not called in other thread
71 (of the application) at the same time. */ 72 (of the application) at the same time. */
72 MHD_cleanup_connections (daemon); 73 MHD_connection_cleanup_ (daemon);
73 return_value->num_connections 74 return_value->num_connections
74 = daemon->connections; 75 = daemon->connections;
75 } 76 }