]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/graphs/tools/drawGraph.ml
ZACK: ported to the latest ocaml-http API
[helm.git] / 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