aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_info.c
diff options
context:
space:
mode:
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 }