From: Claudio Sacerdoti Coen Date: Tue, 30 May 2006 08:04:50 +0000 (+0000) Subject: ported to the latest ocaml-http API X-Git-Tag: make_still_working~7290 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=e90493d6e2e17bb1cb4edb498b24ccdd3b597b86;p=helm.git ported to the latest ocaml-http API --- diff --git a/helm/software/daemons/uwobo/uwobo.ml b/helm/software/daemons/uwobo/uwobo.ml index 9553177d7..7b8a20954 100644 --- a/helm/software/daemons/uwobo/uwobo.ml +++ b/helm/software/daemons/uwobo/uwobo.ml @@ -807,8 +807,11 @@ let main () = debug_print (sprintf "Starting HTTP daemon on port %d ..." port); (* next invocation doesn't return, process will keep on serving HTTP requests until it will get killed by father *) - Http_daemon.start'~port ~mode:`Fork - (callback ~syslogger ~styles ~cmd_pipe ~res_pipe ()) + let d_spec = Http_daemon.daemon_spec + ~port ~mode:`Fork + ~callback:(callback ~syslogger ~styles ~cmd_pipe ~res_pipe ()) () + in + Http_daemon.main d_spec | _ (* < 0 *) -> (* fork failed :-((( *) failwith "Can't fork :-(" done