]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/daemons/graphs/tools/drawGraph.ml
when auto_close is set, use flush + shutdown instead of close_out, work around an...
[helm.git] / helm / software / daemons / graphs / tools / drawGraph.ml
index f7c8174965c7b3f5fc190faa19b58ee226980d92..0dc9800fe1c3dac2f226d1ce74dda762c7f8e9dd 100644 (file)
@@ -101,6 +101,7 @@ Sys.chdir (Helm_registry.get "draw_graph.dir");
 printf "%s started and listening on port %d\n" daemon_name port;
 printf "current directory is %s\n" (Sys.getcwd ());
 flush stdout;
-Http_daemon.start' ~port callback;
+let d_spec = Http_daemon.daemon_spec ~port ~callback () in
+Http_daemon.main d_spec;
 printf "%s is terminating, bye!\n" daemon_name